evolution-data-server r8877 - branches/camel-db-summary/camel



Author: sragavan
Date: Fri May 30 07:49:41 2008
New Revision: 8877
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8877&view=rev

Log:
Fix crash on startup


Modified:
   branches/camel-db-summary/camel/camel-folder-summary.c

Modified: branches/camel-db-summary/camel/camel-folder-summary.c
==============================================================================
--- branches/camel-db-summary/camel/camel-folder-summary.c	(original)
+++ branches/camel-db-summary/camel/camel-folder-summary.c	Fri May 30 07:49:41 2008
@@ -621,7 +621,7 @@
 
 	g_free (record);
 
-	camel_db_read_message_info_records (cdb, folder_name, (gpointer**) &s, camel_read_mir_callback, &ex);
+	ret = camel_db_read_message_info_records (cdb, folder_name, (gpointer**) &s, camel_read_mir_callback, &ex);
 
 	return ret;
 
@@ -709,7 +709,7 @@
 	} else
 		g_warning ("Loading messageinfo from db failed");
 
-	g_object_unref (mir);
+	g_free (mir);
 
 	return 0;
 }



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