summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-15 05:53:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:24 -0500
commit57026269068b035a2f32e971784ab31883854398 (patch)
tree067b17aec41b28024852aef46cc25a811526aaf8 /source4
parentbaa62e5637b24bccbfe41fc5ec8e4eafc0b92191 (diff)
downloadsamba-57026269068b035a2f32e971784ab31883854398.tar.gz
samba-57026269068b035a2f32e971784ab31883854398.tar.bz2
samba-57026269068b035a2f32e971784ab31883854398.zip
r14435: return after an error
(This used to be commit 40e5bfdb0fadedb81d8fbd7e8cc578ef2ea12b13)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/smb2/session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/smb2/session.c b/source4/libcli/smb2/session.c
index 208e2a94de..1d1b97600a 100644
--- a/source4/libcli/smb2/session.c
+++ b/source4/libcli/smb2/session.c
@@ -170,6 +170,7 @@ static void session_request_handler(struct smb2_request *req)
state->req = smb2_session_setup_send(session, &state->io);
if (state->req == NULL) {
composite_error(c, NT_STATUS_NO_MEMORY);
+ return;
}
state->req->async.fn = session_request_handler;