summaryrefslogtreecommitdiff
path: root/libcli/auth/schannel_state_tdb.c
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 /libcli/auth/schannel_state_tdb.c
parent4c29a4e12683a6826104f5974a86d07fb6346266 (diff)
downloadsamba-36175be5d4dbbd1545db4ac7de98d9293b897188.tar.gz
libcli/auth/schannel_state_tdb.c - fix a memory leak
Diffstat (limited to 'libcli/auth/schannel_state_tdb.c')
-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 d1e5ed0eccc..c1557e8a288 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);