diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-10-23 15:10:20 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-10-24 11:59:13 +0200 |
commit | 5ae1d700ebf4b6bb63128f50c01ce4365b4e8d94 (patch) | |
tree | 71944756740d56bd8d4896b9f6863e42b7aa3609 | |
parent | 3054fe46d9ae970c4bd3bac306bfe664fc5a34ff (diff) | |
download | samba-5ae1d700ebf4b6bb63128f50c01ce4365b4e8d94.tar.gz samba-5ae1d700ebf4b6bb63128f50c01ce4365b4e8d94.tar.bz2 samba-5ae1d700ebf4b6bb63128f50c01ce4365b4e8d94.zip |
libcli/auth: don't leak the ldb_msg in schannel_store_session_key_ldb()
metze
-rw-r--r-- | libcli/auth/schannel_state_ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/auth/schannel_state_ldb.c b/libcli/auth/schannel_state_ldb.c index 62873a424b..161c5378ea 100644 --- a/libcli/auth/schannel_state_ldb.c +++ b/libcli/auth/schannel_state_ldb.c @@ -95,7 +95,7 @@ NTSTATUS schannel_store_session_key_ldb(struct ldb_context *ldb, return NT_STATUS_NO_MEMORY; } - msg = ldb_msg_new(ldb); + msg = ldb_msg_new(mem_ctx); if (msg == NULL) { return NT_STATUS_NO_MEMORY; } |