X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=b45613142246d50bb719c9fcef98fb45a739ad76;hp=d9b6d61058123c54a15f591562a6b67b81c72231;hb=529d980f183269a45ba925b4f9ee688b01ad3b22;hpb=ac813896ca32d850febc2d95065ac4fa040f11f9 diff --git a/recvattach.c b/recvattach.c index d9b6d61..b456131 100644 --- a/recvattach.c +++ b/recvattach.c @@ -28,7 +28,6 @@ #include "mutt.h" #include "handler.h" #include "recvattach.h" -#include "rfc1524.h" #include "attach.h" #include "mx.h" #include "copy.h" @@ -953,7 +952,7 @@ void mutt_view_attachments (HEADER * hdr) cur = NULL; secured = !crypt_smime_decrypt_mime (_fp, &fp, _cur, &cur); - mutt_free_body (&_cur); + body_list_wipe(&_cur); safe_fclose (&_fp); } } @@ -1245,7 +1244,7 @@ void mutt_view_attachments (HEADER * hdr) if (need_secured && secured) { fclose (fp); - mutt_free_body (&cur); + body_list_wipe(&cur); } mutt_menuDestroy (&menu);