diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-08-02 07:07:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:00:20 -0500 |
commit | 7adeba4036d9d83a10d8944c81ea3fab0267db21 (patch) | |
tree | aedf5bc0080b198c18f7d472600b9646e316f4fb /source/smbd/sesssetup.c | |
parent | 78f0640a4b4af8b40c0af251fd06edd97feaf1be (diff) | |
download | samba-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/smbd/sesssetup.c')
-rw-r--r-- | source/smbd/sesssetup.c | 2 |
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; } |