1
0
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:
Stefan Metzmacher 2004-12-25 14:06:55 +00:00 committed by Gerald (Jerry) Carter
parent 4620625ea3
commit 799b5764d1

View File

@ -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 */