mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s4:smb_server/smb2: after smbsrv_terminate_connection() we have to return
req is a talloc child of the connection... metze
This commit is contained in:
parent
e01d6f4af0
commit
d72641ef76
@ -252,7 +252,6 @@ static void smb2srv_chain_reply(struct smb2srv_request *p_req)
|
|||||||
status = smb2srv_reply(req);
|
status = smb2srv_reply(req);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
smbsrv_terminate_connection(smb_conn, nt_errstr(status));
|
smbsrv_terminate_connection(smb_conn, nt_errstr(status));
|
||||||
talloc_free(req);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user