diff options
author | Volker Lendecke <vl@samba.org> | 2008-05-10 23:27:21 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-05-10 23:27:21 +0200 |
commit | 4f9b325fb2e9872e4c306791306cd08eb7ac6ef6 (patch) | |
tree | 7fd66bd18b1483d05542e4931ee6c220c7afec32 /source3/smbd | |
parent | 5bda9a8af02c7889e15e580a5620689aa312a16a (diff) | |
download | samba-4f9b325fb2e9872e4c306791306cd08eb7ac6ef6.tar.gz samba-4f9b325fb2e9872e4c306791306cd08eb7ac6ef6.tar.bz2 samba-4f9b325fb2e9872e4c306791306cd08eb7ac6ef6.zip |
Fix a memleak
(This used to be commit 9891c7c30858a3bea9adbea1c5bfa5c6b1b85221)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sesssetup.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 0f0a0d5f31..7cff422507 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -644,10 +644,6 @@ static void reply_spnego_ntlmssp(struct smb_request *req, if (NT_STATUS_IS_OK(nt_status)) { DATA_BLOB nullblob = data_blob_null; - DATA_BLOB session_key = - data_blob( - (*auth_ntlmssp_state)->ntlmssp_state->session_key.data, - (*auth_ntlmssp_state)->ntlmssp_state->session_key.length); if (!is_partial_auth_vuid(vuid)) { nt_status = NT_STATUS_LOGON_FAILURE; @@ -665,7 +661,6 @@ static void reply_spnego_ntlmssp(struct smb_request *req, server_info, nullblob, (*auth_ntlmssp_state)->ntlmssp_state->user) != vuid) { - data_blob_free(&session_key); nt_status = NT_STATUS_LOGON_FAILURE; goto out; } |