summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-04 15:50:56 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-04 16:21:45 +0200
commit601b138e92e38cdafb1763c475a3d6dfac70a5a6 (patch)
tree90811c315a04e864ac176c21fc9df346f077944b /source3/smbd
parente17ab202272ce7425858ea034eee461d12a24dd0 (diff)
downloadsamba-601b138e92e38cdafb1763c475a3d6dfac70a5a6.tar.gz
samba-601b138e92e38cdafb1763c475a3d6dfac70a5a6.tar.bz2
samba-601b138e92e38cdafb1763c475a3d6dfac70a5a6.zip
s3:smb2_create: call 'return' after smbd_server_connection_terminate()
This is not strictly needed in the fork process model, but we hopefully support other models in future. metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 73b8ade5bd..23602861f2 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -1076,6 +1076,7 @@ void schedule_deferred_open_message_smb2(
if (!state->im) {
smbd_server_connection_terminate(smb2req->sconn,
nt_errstr(NT_STATUS_NO_MEMORY));
+ return;
}
DEBUG(10,("schedule_deferred_open_message_smb2: "