evolution-data-server r8654 - branches/gnome-2-22/camel/providers/groupwise



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]