diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-12 01:08:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:14 -0500 |
commit | 2b7ee2ceee0a1b2be596a602997908f72a3af14d (patch) | |
tree | 92a76c5ae2ee35a9da6c251df04b52848255873e /source4/libcli/smb_composite | |
parent | 91e1893741741de04b73a098495c697434105803 (diff) | |
download | samba-2b7ee2ceee0a1b2be596a602997908f72a3af14d.tar.gz samba-2b7ee2ceee0a1b2be596a602997908f72a3af14d.tar.bz2 samba-2b7ee2ceee0a1b2be596a602997908f72a3af14d.zip |
r11692: added a full composite (async) spnego session setup for SMB2. This
simplies the torture code a lot.
(This used to be commit 7bf1046fbb7fd83fecb2fa645628ba9a17aab037)
Diffstat (limited to 'source4/libcli/smb_composite')
-rw-r--r-- | source4/libcli/smb_composite/sesssetup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/smb_composite/sesssetup.c b/source4/libcli/smb_composite/sesssetup.c index 0d0904b969..4cdc4c5e6b 100644 --- a/source4/libcli/smb_composite/sesssetup.c +++ b/source4/libcli/smb_composite/sesssetup.c @@ -370,8 +370,8 @@ struct composite_context *smb_composite_sesssetup_send(struct smbcli_session *se state = talloc(c, struct sesssetup_state); if (state == NULL) { - c->state = COMPOSITE_STATE_ERROR; - c->status = NT_STATUS_NO_MEMORY; + talloc_free(c); + return NULL; } state->io = io; |