Comment 4 for bug 2023440

Revision history for this message
Hans Dampf (hda22) wrote :

Obviously, this patch fixes the crash, but might introduce a memory leak.

--- send/sendlib.c.orig 2023-06-25 13:10:50.386174007 +0200
+++ send/sendlib.c 2023-06-25 14:38:38.024274450 +0200
@@ -1746,8 +1746,8 @@

 done:
   m_fcc->append = old_append;
- if (m_fcc->flags == MB_HIDDEN)
- mailbox_free(&m_fcc);
+ //if (m_fcc->flags == MB_HIDDEN)
+ // mailbox_free(&m_fcc);

 #ifdef RECORD_FOLDER_HOOK
   /* We ran a folder hook for the destination mailbox,