diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-07-21 23:55:00 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-07-21 23:55:00 +0800 |
commit | c1a82b06e72a49fb75e51f6876b24240cbb99ce9 (patch) | |
tree | 3245165a4ab0ee73903119f0f582785497b63cb9 | |
parent | aab6f6264221e20f631cbb44c9bf9edc79b33e79 (diff) | |
download | gsoc2013-evolution-c1a82b06e72a49fb75e51f6876b24240cbb99ce9.tar.gz gsoc2013-evolution-c1a82b06e72a49fb75e51f6876b24240cbb99ce9.tar.zst gsoc2013-evolution-c1a82b06e72a49fb75e51f6876b24240cbb99ce9.zip |
Free result after parsing it. Fixes a leak.
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.
svn path=/trunk/; revision=26689
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 1 |
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; |