summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/request.c b/source4/smb_server/request.c
index e3121f8398..15e821b32b 100644
--- a/source4/smb_server/request.c
+++ b/source4/smb_server/request.c
@@ -261,6 +261,7 @@ void req_send_reply_nosign(struct smbsrv_request *req)
status = socket_send(req->smb_conn->connection->socket, req, &tmp_blob, &sendlen, SOCKET_FLAG_BLOCK);
if (!NT_STATUS_IS_OK(status) || (req->out.size != sendlen)) {
smbsrv_terminate_connection(req->smb_conn, "failed to send reply\n");
+ return;
}
req_destroy(req);