summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-25 14:06:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:38 -0500
commit799b5764d1452c7ec15c8b74b33c83cb2db4702b (patch)
tree4e61bd1731f1fb7d741134a98ed6aa8bbd425aaf /source4
parent4620625ea3c49c2795bcf706387c09b930079534 (diff)
downloadsamba-799b5764d1452c7ec15c8b74b33c83cb2db4702b.tar.gz
samba-799b5764d1452c7ec15c8b74b33c83cb2db4702b.tar.bz2
samba-799b5764d1452c7ec15c8b74b33c83cb2db4702b.zip
r4360: destroy the gensec context
metze (This used to be commit a25770983b34bac5bd7dcce69241716386dc8509)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_auth.c b/source4/librpc/rpc/dcerpc_auth.c
index 1c5556ccee..36e4ba6eea 100644
--- 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 */