From 7d4449ffa02498c5fe5dc6790d35d0477bddaa92 Mon Sep 17 00:00:00 2001 From: James Peach Date: Mon, 18 Dec 2006 01:59:42 +0000 Subject: r20235: Don't use realloc directly. (This used to be commit 91e90f3bc4954e3d405589d947c8fe122d90e6db) --- source3/modules/charset_macosxfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit