summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2008-05-19 10:15:17 +0000
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2008-05-19 10:15:17 +0000
commit9a2f9b826e8a8488f150846ddf7136e16ce959e2 (patch)
treee235b8973a0085ea323b30b5ba64f2373912f8e7
parent6cae79d52777083eb34cdfa6a3ed385bbf722382 (diff)
downloadevolution-data-server-9a2f9b826e8a8488f150846ddf7136e16ce959e2.tar.gz
Large memory leak while syncing mails for offline usage.
2008-05-19 Sankar P <psankar@novell.com> * camel-groupwise-folder.c: (groupwise_folder_get_message), (gw_update_cache): Large memory leak while syncing mails for offline usage. ** Fix for bug #530543 svn path=/trunk/; revision=8806
-rw-r--r--camel/providers/groupwise/ChangeLog8
-rw-r--r--camel/providers/groupwise/camel-groupwise-folder.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/camel/providers/groupwise/ChangeLog b/camel/providers/groupwise/ChangeLog
index 73ad5f413..e48deb3c7 100644
--- a/camel/providers/groupwise/ChangeLog
+++ b/camel/providers/groupwise/ChangeLog
@@ -1,3 +1,11 @@
+2008-05-19 Sankar P <psankar@novell.com>
+
+ * camel-groupwise-folder.c: (groupwise_folder_get_message),
+ (gw_update_cache):
+ Large memory leak while syncing mails for offline usage.
+
+ ** Fix for bug #530543
+
2008-04-30 Chenthill Palanisamy <pchenthill@novell.com>
** Fixes #338330 (bnc)
diff --git a/camel/providers/groupwise/camel-groupwise-folder.c b/camel/providers/groupwise/camel-groupwise-folder.c
index 54ef76438..94ec68842 100644
--- a/camel/providers/groupwise/camel-groupwise-folder.c
+++ b/camel/providers/groupwise/camel-groupwise-folder.c
@@ -201,6 +201,7 @@ groupwise_folder_get_message( CamelFolder *folder, const char *uid, CamelExcepti
camel_message_info_free (&mi->info);
g_free (container_id);
+ g_object_unref (item);
return msg;
}
@@ -1449,6 +1450,7 @@ gw_update_cache (CamelFolder *folder, GList *list, CamelException *ex, gboolean
}
/******************** Caching stuff ends *************************/
i++;
+ g_object_unref (item);
}
camel_operation_end (NULL);
g_free (container_id);