svn commit: samba r4300 - in trunk/source/smbd: .

jra at samba.org jra at samba.org
Tue Dec 21 01:04:05 GMT 2004


Author: jra
Date: 2004-12-21 01:04:04 +0000 (Tue, 21 Dec 2004)
New Revision: 4300

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

Log:
One more *alloc -> SMB_MALLOC (not compiled by default).
Jeremy.

Modified:
   trunk/source/smbd/quotas.c


Changeset:
Modified: trunk/source/smbd/quotas.c
===================================================================
--- trunk/source/smbd/quotas.c	2004-12-21 00:31:18 UTC (rev 4299)
+++ trunk/source/smbd/quotas.c	2004-12-21 01:04:04 UTC (rev 4300)
@@ -471,7 +471,7 @@
 
 	len=strcspn(mnttype, ":");
 	pathname=strstr(mnttype, ":");
-	cutstr = (char *) malloc(len+1);
+	cutstr = (char *) SMB_MALLOC(len+1);
 	if (!cutstr)
 		return False;
 
@@ -1000,7 +1000,7 @@
 
 	len=strcspn(mnttype, ":");
 	pathname=strstr(mnttype, ":");
-	cutstr = (char *) malloc(len+1);
+	cutstr = (char *) SMB_MALLOC(len+1);
 	if (!cutstr)
 		return False;
 



More information about the samba-cvs mailing list