X-Git-Url: http://git.samba.org/?p=samba.git;a=blobdiff_plain;f=source4%2Flibrpc%2Frpc%2Fdcerpc_auth.c;h=36e4ba6eea1a3f397649f6aba9f414e6f825e904;hp=1c5556ccee3a931c429efb0b2150c81470673fe1;hb=799b5764d1452c7ec15c8b74b33c83cb2db4702b;hpb=4620625ea3c49c2795bcf706387c09b930079534 diff --git a/source4/librpc/rpc/dcerpc_auth.c b/source4/librpc/rpc/dcerpc_auth.c index 1c5556ccee3..36e4ba6eea1 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 */