evolution-data-server r8654 - branches/gnome-2-22/camel/providers/groupwise
- From: psankar svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8654 - branches/gnome-2-22/camel/providers/groupwise
- Date: Thu, 17 Apr 2008 06:30:40 +0100 (BST)
Author: psankar
Date: Thu Apr 17 06:30:39 2008
New Revision: 8654
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8654&view=rev
Log:
2008-04-17 Sankar P <psankar novell com>
* camel-groupwise-folder.c: (update_update):
Free memory even on error conditions. Fix the
memory leak.
Modified:
branches/gnome-2-22/camel/providers/groupwise/ChangeLog
branches/gnome-2-22/camel/providers/groupwise/camel-groupwise-folder.c
Modified: branches/gnome-2-22/camel/providers/groupwise/camel-groupwise-folder.c
==============================================================================
--- branches/gnome-2-22/camel/providers/groupwise/camel-groupwise-folder.c (original)
+++ branches/gnome-2-22/camel/providers/groupwise/camel-groupwise-folder.c Thu Apr 17 06:30:39 2008
@@ -953,6 +953,10 @@
return;
end1:
CAMEL_SERVICE_REC_UNLOCK (gw_store, connect_lock);
+ if (items_full_list) {
+ g_list_foreach (items_full_list, (GFunc)g_free, NULL);
+ g_list_free (items_full_list);
+ }
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]