mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r4360: destroy the gensec context
metze (This used to be commit a25770983b34bac5bd7dcce69241716386dc8509)
This commit is contained in:
parent
4620625ea3
commit
799b5764d1
@ -199,6 +199,7 @@ done:
|
||||
talloc_destroy(mem_ctx);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
talloc_free(p->security_state.generic_state);
|
||||
ZERO_STRUCT(p->security_state);
|
||||
} else {
|
||||
/* Authenticated connections use the generic session key */
|
||||
|
Loading…
x
Reference in New Issue
Block a user