summaryrefslogtreecommitdiffstats
path: root/source
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
commit7adeba4036d9d83a10d8944c81ea3fab0267db21 (patch)
treeaedf5bc0080b198c18f7d472600b9646e316f4fb /source
parent78f0640a4b4af8b40c0af251fd06edd97feaf1be (diff)
downloadsamba-7adeba4036d9d83a10d8944c81ea3fab0267db21.tar.gz
samba-7adeba4036d9d83a10d8944c81ea3fab0267db21.tar.xz
samba-7adeba4036d9d83a10d8944c81ea3fab0267db21.zip
r8913: Fix memory leak in -r 8912: Free the right thing, rather than blob1 'twice'.
Andrew Bartlett
Diffstat (limited to 'source')
-rw-r--r--source/smbd/sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/sesssetup.c b/source/smbd/sesssetup.c
index 6a414acc4ce..bf7287aab9c 100644
--- a/source/smbd/sesssetup.c
+++ b/source/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;
}