From 7adeba4036d9d83a10d8944c81ea3fab0267db21 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 --- source/smbd/sesssetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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; } -- cgit