svn commit: samba r5484 - in branches/SAMBA_3_0/source/lib: .

vlendec at samba.org vlendec at samba.org
Mon Feb 21 11:21:12 GMT 2005


Author: vlendec
Date: 2005-02-21 11:21:11 +0000 (Mon, 21 Feb 2005)
New Revision: 5484

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

Log:
Fix a memleak
Modified:
   branches/SAMBA_3_0/source/lib/privileges.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/privileges.c
===================================================================
--- branches/SAMBA_3_0/source/lib/privileges.c	2005-02-21 11:18:05 UTC (rev 5483)
+++ branches/SAMBA_3_0/source/lib/privileges.c	2005-02-21 11:21:11 UTC (rev 5484)
@@ -230,8 +230,8 @@
 	SMB_ASSERT( data.dsize == sizeof( SE_PRIV ) );
 	
 	se_priv_copy( mask, (SE_PRIV*)data.dptr );
-	
-	
+	SAFE_FREE(data.dptr);
+
 	return True;
 }
 



More information about the samba-cvs mailing list