]> granicus.if.org Git - neomutt/commitdiff
Don't leak mhs flags in mh_buffy(). Closes #3303.
authorUnknown <kees@outflux.net>
Wed, 22 Jul 2009 12:40:19 +0000 (14:40 +0200)
committerUnknown <kees@outflux.net>
Wed, 22 Jul 2009 12:40:19 +0000 (14:40 +0200)
ChangeLog
mh.c

index 9c510db245f398b73f5e09e4eed51518a8311741..966ac8681dc3236b00de3cec13efe60595874b84 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2009-07-17 17:57 -0400  Aron Griffis  <agriffis@n01se.net>  (a3c4b605cfad)
+
+       * UPDATING: add batch mode send-hooks note to UPDATING
+
+2009-07-14 20:25 -0700  Aron Griffis  <agriffis@n01se.net>  (084fb086a0e7)
+
+       * send.c: Make send-hooks work for batch mode. Closes
+       #3219.
+
+       Handle SENDBATCH inline with the normal sending code, instead of
+       handling it separately. This allows send-hooks to run, along with
+       removing a number of unnecessarily lines of code.
+
 2009-07-11 14:52 +0200  Rocco Rutte  <pdmef@gmx.net>  (6f942afe60b5)
 
        * charset.c, mbyte.c: Recognize charset extensions, see #3150.
diff --git a/mh.c b/mh.c
index ebe8cd970268346aef497a3315ac9a5889f8b24b..e46819cde386d2c283c7e49d5bc2e28a49de51db 100644 (file)
--- a/mh.c
+++ b/mh.c
@@ -238,6 +238,7 @@ int mh_buffy (const char *path)
   for (i = 0; !r && i <= mhs.max; i++)
     if (mhs_check (&mhs, i) & MH_SEQ_UNSEEN)
       r = 1;
+  mhs_free_sequences (&mhs);
   return r;
 }