1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s3-rpc_server: Free unused memory.

Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
Andreas Schneider 2011-03-07 13:12:47 +01:00 committed by Günther Deschner
parent bb201fac2b
commit a955c53843

View File

@ -1028,6 +1028,8 @@ static bool api_pipe_bind_req(struct pipes_struct *p,
case DCERPC_AUTH_TYPE_NCALRPC_AS_SYSTEM:
if (p->transport == NCALRPC && p->system_user) {
TALLOC_FREE(p->session_info);
status = make_session_info_system(p,
&p->session_info);
if (!NT_STATUS_IS_OK(status)) {