Author: jra Date: 2004-12-21 01:04:11 +0000 (Tue, 21 Dec 2004) New Revision: 4301
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4301 Log: One more *alloc -> SMB_MALLOC (not compiled by default). Jeremy. Modified: branches/SAMBA_3_0/source/smbd/quotas.c Changeset: Modified: branches/SAMBA_3_0/source/smbd/quotas.c =================================================================== --- branches/SAMBA_3_0/source/smbd/quotas.c 2004-12-21 01:04:04 UTC (rev 4300) +++ branches/SAMBA_3_0/source/smbd/quotas.c 2004-12-21 01:04:11 UTC (rev 4301) @@ -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;