summaryrefslogtreecommitdiffstats
path: root/source/modules/charset_macosxfs.c
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-12-18 01:59:42 +0000
committerJames Peach <jpeach@samba.org>2006-12-18 01:59:42 +0000
commit8d0f9da702b937d58f64d146c567a9e0a6e0cb9c (patch)
treed674ccb15202a43e74ded970a08dd2a21ddd6525 /source/modules/charset_macosxfs.c
parent2b22d863b720318e226d66ededba6d2521ac6522 (diff)
downloadsamba-8d0f9da702b937d58f64d146c567a9e0a6e0cb9c.tar.gz
samba-8d0f9da702b937d58f64d146c567a9e0a6e0cb9c.tar.xz
samba-8d0f9da702b937d58f64d146c567a9e0a6e0cb9c.zip
r20235: Don't use realloc directly.
Diffstat (limited to 'source/modules/charset_macosxfs.c')
-rw-r--r--source/modules/charset_macosxfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/modules/charset_macosxfs.c b/source/modules/charset_macosxfs.c
index a9003c7a826..3e5e2ff8bd2 100644
--- a/source/modules/charset_macosxfs.c
+++ b/source/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;
}