aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/imap/camel-imap-store.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index b636210fb2..657dcbe72c 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-19 Jeffrey Stedfast <fejj@novell.com>
+
+ * providers/imap/camel-imap-store.c (get_subscribed_folders): Free
+ result after parsing it. Fixes a leak.
+
2004-07-19 Not Zed <NotZed@Ximian.com>
* camel-mime-filter-canon.c (filter): only copy 5 chars after the
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 3402dc8af8..e87e334a65 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -2479,6 +2479,7 @@ get_subscribed_folders (CamelImapStore *imap_store, const char *top, CamelExcept
}
fi = parse_list_response_as_folder_info (imap_store, result);
+ g_free (result);
if (!fi)
continue;