exit mem_realloc, enters p_realloc/xrealloc.
[apps/madmutt.git] / rfc1524.c
index 026050f..5b70e5a 100644 (file)
--- a/rfc1524.c
+++ b/rfc1524.c
@@ -28,7 +28,6 @@
 #include "rfc1524.h"
 #include "attach.h"
 
-#include "lib/mem.h"
 #include "lib/intl.h"
 #include "lib/str.h"
 #include "lib/debug.h"
@@ -270,7 +269,7 @@ static int rfc1524_mailcap_parse (BODY * a,
           if (get_field_text (field + 4, &test_command, type, filename, line)
               && test_command) {
             len = str_len (test_command) + STRING;
-            mem_realloc (&test_command, len);
+            p_realloc(&test_command, len);
             rfc1524_expand_command (a, a->filename, type, test_command, len);
             if (mutt_system (test_command)) {
               /* a non-zero exit code means test failed */