svn commit: samba r5483 - in trunk/source/lib: .
vlendec at samba.org
vlendec at samba.org
Mon Feb 21 11:18:05 GMT 2005
Author: vlendec
Date: 2005-02-21 11:18:05 +0000 (Mon, 21 Feb 2005)
New Revision: 5483
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5483
Log:
Fix a memleak
Modified:
trunk/source/lib/privileges.c
Changeset:
Modified: trunk/source/lib/privileges.c
===================================================================
--- trunk/source/lib/privileges.c 2005-02-21 11:11:34 UTC (rev 5482)
+++ trunk/source/lib/privileges.c 2005-02-21 11:18:05 UTC (rev 5483)
@@ -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