1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

libcli/auth/schannel_state_tdb.c - fix a memory leak

This commit is contained in:
Matthias Dieter Wallnöfer 2010-03-16 16:23:57 +01:00
parent 4c29a4e126
commit 36175be5d4

View File

@ -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);