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:
parent
4c29a4e126
commit
36175be5d4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user