[evolution-data-server/gnome-3-0] Bug 656487 - Memory leak in imapx fetch_folders_for_namespaces()
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-0] Bug 656487 - Memory leak in imapx fetch_folders_for_namespaces()
- Date: Sat, 13 Aug 2011 23:49:33 +0000 (UTC)
commit a6698c442d96377075101a026b34aa152a7c7a01
Author: David Woodhouse <David Woodhouse intel com>
Date: Sun Aug 14 00:47:48 2011 +0100
Bug 656487 - Memory leak in imapx fetch_folders_for_namespaces()
We need to free the GSList but the namespaces themselves are fine.
(cherry picked from commit d707f577c0e23f11ecae37408477885c5b260d50)
camel/providers/imapx/camel-imapx-store.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-store.c b/camel/providers/imapx/camel-imapx-store.c
index 500e27c..0a530d3 100644
--- a/camel/providers/imapx/camel-imapx-store.c
+++ b/camel/providers/imapx/camel-imapx-store.c
@@ -939,6 +939,7 @@ fetch_folders_for_namespaces (CamelIMAPXStore *istore,
ns = ns->next;
}
}
+ g_slist_free (namespaces);
out:
g_object_unref (server);
return folders;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]