git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r4360: destroy the gensec context
[samba.git]
/
source4
/
librpc
/
rpc
/
dcerpc_auth.c
diff --git
a/source4/librpc/rpc/dcerpc_auth.c
b/source4/librpc/rpc/dcerpc_auth.c
index 1c5556ccee3a931c429efb0b2150c81470673fe1..36e4ba6eea1a3f397649f6aba9f414e6f825e904 100644
(file)
--- a/
source4/librpc/rpc/dcerpc_auth.c
+++ b/
source4/librpc/rpc/dcerpc_auth.c
@@
-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 */