X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=recvattach.c;h=b45613142246d50bb719c9fcef98fb45a739ad76;hb=8d5f74a1030b2e5e93027c91c35b7facea2d61be;hp=d9b6d61058123c54a15f591562a6b67b81c72231;hpb=ac813896ca32d850febc2d95065ac4fa040f11f9;p=apps%2Fmadmutt.git 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);