From: Jeremy Allison Date: Tue, 21 Dec 2004 01:04:11 +0000 (+0000) Subject: r4301: One more *alloc -> SMB_MALLOC (not compiled by default). X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5468 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=235a0c1698db48583a6860a3a9fca9f261544365;p=thirdparty%2Fsamba.git r4301: One more *alloc -> SMB_MALLOC (not compiled by default). Jeremy. --- diff --git a/source/smbd/quotas.c b/source/smbd/quotas.c index 3c4d4319f63..a96f50ad02f 100644 --- a/source/smbd/quotas.c +++ b/source/smbd/quotas.c @@ -471,7 +471,7 @@ static BOOL nfs_quotas(char *nfspath, uid_t euser_id, SMB_BIG_UINT *bsize, SMB_B 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 @@ static BOOL nfs_quotas(char *nfspath, uid_t euser_id, SMB_BIG_UINT *bsize, SMB_B len=strcspn(mnttype, ":"); pathname=strstr(mnttype, ":"); - cutstr = (char *) malloc(len+1); + cutstr = (char *) SMB_MALLOC(len+1); if (!cutstr) return False;