projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused code, simplifications, missing include
[apps/madmutt.git]
/
recvattach.c
diff --git
a/recvattach.c
b/recvattach.c
index
bc59c76
..
b456131
100644
(file)
--- 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);
cur = NULL;
secured = !crypt_smime_decrypt_mime (_fp, &fp, _cur, &cur);
-
mutt_free_body
(&_cur);
+
body_list_wipe
(&_cur);
safe_fclose (&_fp);
}
}
safe_fclose (&_fp);
}
}
@@
-1244,7
+1244,7
@@
void mutt_view_attachments (HEADER * hdr)
if (need_secured && secured) {
fclose (fp);
if (need_secured && secured) {
fclose (fp);
-
mutt_free_body
(&cur);
+
body_list_wipe
(&cur);
}
mutt_menuDestroy (&menu);
}
mutt_menuDestroy (&menu);