summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/charcnv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 5ed31d2a4c..27e00a589e 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);