summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-04 12:11:08 +0200
committerVolker Lendecke <vl@samba.org>2010-04-04 12:51:24 +0200
commitb198283f1ff7c268f604479290c7e6fb555a6267 (patch)
treea427d3eb8c8829e8438e398c84c686172a75a6dd /nsswitch
parent55aeb682ba157dc02d838381d1b5d9db166beaeb (diff)
downloadsamba-b198283f1ff7c268f604479290c7e6fb555a6267.tar.gz
samba-b198283f1ff7c268f604479290c7e6fb555a6267.tar.bz2
samba-b198283f1ff7c268f604479290c7e6fb555a6267.zip
libwbclient: Fix a memleak in wbcCredentialCache
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/libwbclient/wbc_pam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c
index 03039a26ac..c914d597f0 100644
--- a/nsswitch/libwbclient/wbc_pam.c
+++ b/nsswitch/libwbclient/wbc_pam.c
@@ -1223,6 +1223,7 @@ wbcErr wbcCredentialCache(struct wbcCredentialCacheParams *params,
goto fail;
}
+ TALLOC_FREE(request.extra_data.data);
winbindd_free_response(&response);
*info = result;
return WBC_ERR_SUCCESS;