]> granicus.if.org Git - mutt/commitdiff
Fix memory leak in imap_mailbox_state
authorBrendan Cully <brendan@kublai.com>
Mon, 20 Oct 2008 16:33:52 +0000 (09:33 -0700)
committerBrendan Cully <brendan@kublai.com>
Mon, 20 Oct 2008 16:33:52 +0000 (09:33 -0700)
ChangeLog
imap/browse.c

index 50897932c2947d4838cb6d016d3efccf394ce2ff..7c006c7795a98e3108b92cc83c7b7bcd186e6248 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,12 @@
-2008-10-19 12:41 -0700  Brendan Cully  <brendan@kublai.com>  (1dd2d83b5c34)
+2008-10-19 16:26 -0700  TAKAHASHI Tamotsu  <tamo@momonga-linux.org>  (e1fc907b2968)
+
+       * imap/browse.c: Fix up destination path when renaming mailbox. Closes
+       #2090.
+
+2008-10-19 16:14 -0700  Brendan Cully  <brendan@kublai.com>  (5d1cc2f0c1c4)
+
+       * imap/util.c: Normalize path component of IMAP URLs in
+       imap_expand_path (see #2897).
 
        * mutt_socket.c: Fix buglet in logging from previous commit
 
index 146c5b59f28964039e54b3b50622246d0cc7b044..373dd67276fd6ba5f7825185e0d5cc45293988c5 100644 (file)
@@ -239,6 +239,8 @@ int imap_mailbox_state (const char* path, struct mailbox_state* state)
     state->messages = status->messages;
   }
 
+  FREE (&mx.mbox);
+
   return 0;
 }