exit mem_realloc, enters p_realloc/xrealloc.
[apps/madmutt.git] / charset.c
index 9bf63f8..8f5bb08 100644 (file)
--- a/charset.c
+++ b/charset.c
@@ -28,7 +28,6 @@
 #include "charset.h"
 #include "ascii.h"
 
-#include "lib/mem.h"
 #include "lib/intl.h"
 #include "lib/str.h"
 
@@ -577,7 +576,7 @@ static size_t convert_string (const char *f, size_t flen,
 
   *tlen = ob - buf;
 
-  mem_realloc (&buf, ob - buf + 1);
+  p_realloc(&buf, ob - buf + 1);
   *t = buf;
   iconv_close (cd);