summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-08-02 07:07:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:20 -0500
commitf31965b549d5def6d0b25ece6b1ff721fc66bcab (patch)
tree53763d2349f51bf1a34bb1cdb0157d2ef78b84b1 /source3
parenta3947eaa4eb32c40e983993d17178bb9d9b5f151 (diff)
downloadsamba-f31965b549d5def6d0b25ece6b1ff721fc66bcab.tar.gz
samba-f31965b549d5def6d0b25ece6b1ff721fc66bcab.tar.bz2
samba-f31965b549d5def6d0b25ece6b1ff721fc66bcab.zip
r8913: Fix memory leak in -r 8912: Free the right thing, rather than blob1 'twice'.
Andrew Bartlett (This used to be commit 7adeba4036d9d83a10d8944c81ea3fab0267db21)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 6a414acc4c..bf7287aab9 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -681,7 +681,7 @@ static int reply_sesssetup_and_X_spnego(connection_struct *conn, char *inbuf,
reply_spnego_ntlmssp(conn, inbuf, outbuf, vuid,
&vuser->auth_ntlmssp_state,
&chal, nt_status, False);
- data_blob_free(&blob1);
+ data_blob_free(&chal);
return -1;
}