summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-03-26 13:49:36 +0200
committerStefan Metzmacher <metze@samba.org>2012-04-02 21:26:08 +0200
commitd72641ef769da6cba8fd8422586121c79ad3af42 (patch)
treeafc6642ae206ad8ec76c59893c54c7d686d9ef17 /source4/smb_server
parente01d6f4af02160199a014b9ea3e05a56c47f9f1f (diff)
downloadsamba-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
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb2/receive.c1
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;
}
}