From 692e1a214c8478ea9199542920b7083138f90691 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 29 Nov 2004 14:46:17 +0000 Subject: r4001: fix segfault fix auth failed metze (This used to be commit 6a7eee1d9917e0884072354dddae568645798da5) --- source4/librpc/rpc/dcerpc_auth.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/librpc/rpc/dcerpc_auth.c') diff --git a/source4/librpc/rpc/dcerpc_auth.c b/source4/librpc/rpc/dcerpc_auth.c index af138ffe2c..7e581992fa 100644 --- a/source4/librpc/rpc/dcerpc_auth.c +++ b/source4/librpc/rpc/dcerpc_auth.c @@ -113,6 +113,7 @@ done: talloc_destroy(mem_ctx); if (!NT_STATUS_IS_OK(status)) { + gensec_end(&p->security_state.generic_state); ZERO_STRUCT(p->security_state); } else { /* Authenticated connections use the generic session key */ -- cgit