From 25f51f49b13f46907b19761720de380513b3eec9 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 12 Nov 2001 01:31:43 +0000 Subject: messed up with patches, this should be the right one, sorry (This used to be commit 023514a0b6170b1907696a2147ee44dc3aa4589d) --- source3/lib/charcnv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/lib/charcnv.c') diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index 5ed31d2a4cc..27e00a589e8 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -209,8 +209,7 @@ convert: } destlen = destlen - o_len; - *dest = (char *)realloc(ob,destlen); - *dest = (char *)realloc(outbuf,destlen); + *dest = (char *)Realloc(ob,destlen); if (!*dest) { DEBUG(0, ("convert_string_allocate: out of memory!\n")); SAFE_FREE(ob); -- cgit