X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc1524.c;h=5b70e5a0cd35e93c79f0eefdbb58a984316e6679;hp=026050f41e6b48d3ecd1574f8539c7138ca17c78;hb=9e6ab0152703ad301042ce8810859f41fbee405a;hpb=b3cb6ed8d36c550a2e589910ce51bbc8352ff57c diff --git a/rfc1524.c b/rfc1524.c index 026050f..5b70e5a 100644 --- 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 */