diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-03-26 13:49:36 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-04-02 21:26:08 +0200 |
commit | d72641ef769da6cba8fd8422586121c79ad3af42 (patch) | |
tree | afc6642ae206ad8ec76c59893c54c7d686d9ef17 | |
parent | e01d6f4af02160199a014b9ea3e05a56c47f9f1f (diff) | |
download | samba-d72641ef769da6cba8fd8422586121c79ad3af42.tar.gz samba-d72641ef769da6cba8fd8422586121c79ad3af42.tar.bz2 samba-d72641ef769da6cba8fd8422586121c79ad3af42.zip |
s4:smb_server/smb2: after smbsrv_terminate_connection() we have to return
req is a talloc child of the connection...
metze
-rw-r--r-- | source4/smb_server/smb2/receive.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/receive.c b/source4/smb_server/smb2/receive.c index 41408c4784..5619313e90 100644 --- a/source4/smb_server/smb2/receive.c +++ b/source4/smb_server/smb2/receive.c @@ -252,7 +252,6 @@ static void smb2srv_chain_reply(struct smb2srv_request *p_req) status = smb2srv_reply(req); if (!NT_STATUS_IS_OK(status)) { smbsrv_terminate_connection(smb_conn, nt_errstr(status)); - talloc_free(req); return; } } |