summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-12-21 01:04:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:43 -0500
commitad94eabdc643c2f980bd664231d1ec6216a215cd (patch)
tree4a52121e1b00d3203dd3518bb8326e9a0ce26acf /source3
parentbe60bf64478261a642b5636669c7a8fc92b7b13d (diff)
downloadsamba-ad94eabdc643c2f980bd664231d1ec6216a215cd.tar.gz
samba-ad94eabdc643c2f980bd664231d1ec6216a215cd.tar.bz2
samba-ad94eabdc643c2f980bd664231d1ec6216a215cd.zip
r4301: One more *alloc -> SMB_MALLOC (not compiled by default).
Jeremy. (This used to be commit 235a0c1698db48583a6860a3a9fca9f261544365)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/quotas.c4
1 files 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;