evolution-data-server r9985 - branches/gnome-2-24/camel



Author: psankar
Date: Wed Jan 28 17:17:32 2009
New Revision: 9985
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9985&view=rev

Log:
2009-01-28  Sankar P  <psankar novell com>

	** Part of Fix for bug bnc #390198

	* camel/camel-folder-summary.c:
	Free the exception object which was leaking.




Modified:
   branches/gnome-2-24/camel/ChangeLog
   branches/gnome-2-24/camel/camel-folder-summary.c

Modified: branches/gnome-2-24/camel/camel-folder-summary.c
==============================================================================
--- branches/gnome-2-24/camel/camel-folder-summary.c	(original)
+++ branches/gnome-2-24/camel/camel-folder-summary.c	Wed Jan 28 17:17:32 2009
@@ -577,8 +577,10 @@
 
 	
 		ret = camel_db_read_message_info_record_with_uid (cdb, folder_name, uid, &data, camel_read_mir_callback, &ex);
-		if (ret != 0)
+		if (ret != 0) {
+			camel_exception_clear (&ex);
 			return NULL;
+		}
 		
 		CAMEL_SUMMARY_LOCK(s, summary_lock);
 		CAMEL_SUMMARY_LOCK(s, ref_lock);



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