ctors/dtors for BODY's
[apps/madmutt.git] / attach.c
index 5e43321..88272b9 100644 (file)
--- a/attach.c
+++ b/attach.c
@@ -175,7 +175,7 @@ int mutt_compose_attachment (BODY * a)
               goto bailout;
             }
 
-            mutt_free_body (&b);
+            body_list_wipe(&b);
           }
         }
       }