X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=b45613142246d50bb719c9fcef98fb45a739ad76;hp=bc59c761f79d84f95ba13637c657f5788d5837c2;hb=c8c9a616c8c369da6aa06e656eacfb82af8707a8;hpb=49081299c673ceebc38d9a4f0985608cb3aecfce diff --git a/recvattach.c b/recvattach.c index bc59c76..b456131 100644 --- a/recvattach.c +++ b/recvattach.c @@ -952,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); } } @@ -1244,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);