diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-20 05:00:46 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-28 02:01:08 +0200 |
commit | e8ed54d6c98ba4c0e8ac6b4cc7eb1df58e656d14 (patch) | |
tree | c8b6777163664877eaa334bb6c31ba72cbd9045d /source3/libsmb | |
parent | 889886c212935e16ebb763cb2afbc9b6f74f1acd (diff) | |
download | samba-e8ed54d6c98ba4c0e8ac6b4cc7eb1df58e656d14.tar.gz samba-e8ed54d6c98ba4c0e8ac6b4cc7eb1df58e656d14.tar.bz2 samba-e8ed54d6c98ba4c0e8ac6b4cc7eb1df58e656d14.zip |
s3:libsmb: remove unused TALLOC_FREE(subreq) calls in
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/cliconnect.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index d2512ec295..92c90146e3 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -1637,7 +1637,6 @@ static void cli_session_setup_ntlmssp_done(struct tevent_req *subreq) state->cli->server_domain = talloc_strdup(state->cli, state->ntlmssp_state->server.netbios_domain); if (state->cli->server_domain == NULL) { - TALLOC_FREE(subreq); tevent_req_nterror(req, NT_STATUS_NO_MEMORY); return; } @@ -1649,11 +1648,9 @@ static void cli_session_setup_ntlmssp_done(struct tevent_req *subreq) state->cli, state->ntlmssp_state->session_key, data_blob_null) && !cli_check_sign_mac(state->cli, inbuf, 1)) { - TALLOC_FREE(subreq); tevent_req_nterror(req, NT_STATUS_ACCESS_DENIED); return; } - TALLOC_FREE(subreq); TALLOC_FREE(state->ntlmssp_state); tevent_req_done(req); return; @@ -1696,14 +1693,12 @@ static void cli_session_setup_ntlmssp_done(struct tevent_req *subreq) if (!NT_STATUS_IS_OK(status) && !NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) { - TALLOC_FREE(subreq); TALLOC_FREE(state->ntlmssp_state); tevent_req_nterror(req, status); return; } state->blob_out = spnego_gen_auth(state, blob_out); - TALLOC_FREE(subreq); if (tevent_req_nomem(state->blob_out.data, req)) { return; } |