X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=recvcmd.c;h=5a5e1c45dec53bbac7048650181d81dae3638731;hb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b;hp=00029bb8a9d1d0850f52f354e6341b7a7a8bf4a9;hpb=bbc4fd52516a8afefbd14c77e34f8389d6f0a6ed;p=apps%2Fmadmutt.git diff --git a/recvcmd.c b/recvcmd.c index 00029bb..5a5e1c4 100644 --- a/recvcmd.c +++ b/recvcmd.c @@ -11,6 +11,9 @@ # include "config.h" #endif +#include +#include + #include "mutt.h" #include "enter.h" #include "state.h" @@ -26,8 +29,6 @@ #include "copy.h" #include "mutt_idna.h" -#include "lib/mem.h" -#include "lib/intl.h" #include "lib/str.h" /* some helper functions to verify that we are exclusively operating @@ -153,7 +154,7 @@ void mutt_attach_bounce (FILE * fp, HEADER * hdr, if (mutt_addrlist_to_idna (adr, &err) < 0) { mutt_error (_("Bad IDN: '%s'"), err); - mem_free (&err); + p_delete(&err); rfc822_free_address (&adr); return; }