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:
parent
bb201fac2b
commit
a955c53843
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user