r8913: Fix memory leak in -r 8912: Free the right thing, rather than blob1 'twice'.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 2 Aug 2005 07:07:43 +0000 (07:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:00:20 +0000 (11:00 -0500)
Andrew Bartlett
(This used to be commit 7adeba4036d9d83a10d8944c81ea3fab0267db21)

source3/smbd/sesssetup.c

index 6a414acc4cedd5a41d12ff6e764eac02f0465327..bf7287aab9ca1ac40fbab5a40dc1e8b926a6a274 100644 (file)
@@ -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;
        }