ctors/dtors for BODY's
[apps/madmutt.git] / browser.c
index 7fc0335..69f95da 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -1339,7 +1339,7 @@ void _mutt_select_file (char *f, ssize_t flen, int flags, char ***files,
         b = mutt_make_file_attach (nbuf);
         if (b != NULL) {
           mutt_view_attachment (NULL, b, M_REGULAR, NULL, NULL, 0);
-          mutt_free_body (&b);
+          body_list_wipe(&b);
           menu->redraw = REDRAW_FULL;
         }
         else