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



Author: psankar
Date: Mon May 19 10:15:17 2008
New Revision: 8806
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8806&view=rev

Log:
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




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

Modified: trunk/camel/providers/groupwise/camel-groupwise-folder.c
==============================================================================
--- trunk/camel/providers/groupwise/camel-groupwise-folder.c	(original)
+++ trunk/camel/providers/groupwise/camel-groupwise-folder.c	Mon May 19 10:15:17 2008
@@ -201,6 +201,7 @@
 
 	camel_message_info_free (&mi->info);
 	g_free (container_id);
+	g_object_unref (item);
 	return msg;
 }
 
@@ -1449,6 +1450,7 @@
 		}
 		/******************** Caching stuff ends *************************/
 		i++;
+		g_object_unref (item);
 	}
 	camel_operation_end (NULL);
 	g_free (container_id);



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