summaryrefslogtreecommitdiff
path: root/source3/lib/dprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/dprintf.c')
-rw-r--r--source3/lib/dprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dprintf.c b/source3/lib/dprintf.c
index c62a1f41d1..8ed2fa5d8c 100644
--- a/source3/lib/dprintf.c
+++ b/source3/lib/dprintf.c
@@ -54,7 +54,7 @@
charset, but beware of it growing */
maxlen = ret*2;
again:
- p2 = malloc(maxlen);
+ p2 = SMB_MALLOC(maxlen);
if (!p2) {
SAFE_FREE(p);
return -1;