From f31965b549d5def6d0b25ece6b1ff721fc66bcab Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 2 Aug 2005 07:07:43 +0000 Subject: r8913: Fix memory leak in -r 8912: Free the right thing, rather than blob1 'twice'. Andrew Bartlett (This used to be commit 7adeba4036d9d83a10d8944c81ea3fab0267db21) --- source3/smbd/sesssetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit