summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-16 16:23:57 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-16 17:11:47 +0100
commit36175be5d4dbbd1545db4ac7de98d9293b897188 (patch)
tree9e03c453db1733f6d9470249446d54d697146907
parent4c29a4e12683a6826104f5974a86d07fb6346266 (diff)
downloadsamba-36175be5d4dbbd1545db4ac7de98d9293b897188.tar.gz
samba-36175be5d4dbbd1545db4ac7de98d9293b897188.tar.bz2
samba-36175be5d4dbbd1545db4ac7de98d9293b897188.zip
libcli/auth/schannel_state_tdb.c - fix a memory leak
-rw-r--r--libcli/auth/schannel_state_tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/auth/schannel_state_tdb.c b/libcli/auth/schannel_state_tdb.c
index d1e5ed0ecc..c1557e8a28 100644
--- a/libcli/auth/schannel_state_tdb.c
+++ b/libcli/auth/schannel_state_tdb.c
@@ -223,6 +223,7 @@ NTSTATUS schannel_fetch_session_key_tdb(struct tdb_wrap *tdb_sc,
done:
talloc_free(keystr);
+ SAFE_FREE(value.dptr);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(creds);