From ad94eabdc643c2f980bd664231d1ec6216a215cd Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 21 Dec 2004 01:04:11 +0000 Subject: r4301: One more *alloc -> SMB_MALLOC (not compiled by default). Jeremy. (This used to be commit 235a0c1698db48583a6860a3a9fca9f261544365) --- source3/smbd/quotas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c index 3c4d4319f6..a96f50ad02 100644 --- a/source3/smbd/quotas.c +++ b/source3/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; -- cgit