summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-12-18 01:59:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:34 -0500
commit7d4449ffa02498c5fe5dc6790d35d0477bddaa92 (patch)
treefa84e6097550ffe9b1cf1ffa26d7d18e286a4c89 /source3
parent0379e088dc8220d7d9f0509a22ac39633f53f899 (diff)
downloadsamba-7d4449ffa02498c5fe5dc6790d35d0477bddaa92.tar.gz
samba-7d4449ffa02498c5fe5dc6790d35d0477bddaa92.tar.bz2
samba-7d4449ffa02498c5fe5dc6790d35d0477bddaa92.zip
r20235: Don't use realloc directly.
(This used to be commit 91e90f3bc4954e3d405589d947c8fe122d90e6db)
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/charset_macosxfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/charset_macosxfs.c b/source3/modules/charset_macosxfs.c
index a9003c7a82..3e5e2ff8bd 100644
--- a/source3/modules/charset_macosxfs.c
+++ b/source3/modules/charset_macosxfs.c
@@ -62,7 +62,7 @@ static inline void *resize_buffer (void *buffer, size_t *size, size_t newsize)
{
if (newsize > *size) {
*size = newsize + 128;
- buffer = realloc(buffer, *size);
+ buffer = SMB_REALLOC(buffer, *size);
}
return buffer;
}