svn commit: samba r8913 - in branches/SAMBA_3_0/source/smbd: .

abartlet at samba.org abartlet at samba.org
Tue Aug 2 07:07:43 GMT 2005


Author: abartlet
Date: 2005-08-02 07:07:43 +0000 (Tue, 02 Aug 2005)
New Revision: 8913

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8913

Log:
Fix memory leak in -r 8912: Free the right thing, rather than blob1 'twice'.

Andrew Bartlett

Modified:
   branches/SAMBA_3_0/source/smbd/sesssetup.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/sesssetup.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/sesssetup.c	2005-08-02 06:36:42 UTC (rev 8912)
+++ branches/SAMBA_3_0/source/smbd/sesssetup.c	2005-08-02 07:07:43 UTC (rev 8913)
@@ -681,7 +681,7 @@
 		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;
 	}
 



More information about the samba-cvs mailing list