evolution-data-server r9299 - trunk/camel/providers/groupwise



Author: psankar
Date: Fri Aug  8 06:51:31 2008
New Revision: 9299
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9299&view=rev

Log:
2008-08-08  Sankar P  <psankar novell com>

	* camel-groupwise-store.c (groupwise_folders_sync):
	Fix a leak. Part of bgo #523103




Modified:
   trunk/camel/providers/groupwise/ChangeLog
   trunk/camel/providers/groupwise/camel-groupwise-store.c

Modified: trunk/camel/providers/groupwise/camel-groupwise-store.c
==============================================================================
--- trunk/camel/providers/groupwise/camel-groupwise-store.c	(original)
+++ trunk/camel/providers/groupwise/camel-groupwise-store.c	Fri Aug  8 06:51:31 2008
@@ -936,6 +936,8 @@
 		parent = e_gw_container_get_parent_id (E_GW_CONTAINER(temp_list->data));
 
 		if (e_gw_container_is_root (E_GW_CONTAINER(temp_list->data))) {
+			if (store->root_container)
+				g_free (store->root_container);
 			store->root_container = g_strdup (id);
 			continue;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]