evolution-data-server r9629 - in trunk: . libedataserver



Author: pwithnall
Date: Tue Sep 30 18:19:50 2008
New Revision: 9629
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9629&view=rev

Log:
2008-09-30  Philip Withnall  <philip tecnocode co uk>

	** Fix for bug #552491

	* libedataserver/e-source-list.c 
(e_source_list_is_gconf_updated):
	Check for NULL output from xmlParseDoc before continuing.



Modified:
   trunk/ChangeLog
   trunk/libedataserver/e-source-list.c

Modified: trunk/libedataserver/e-source-list.c
==============================================================================
--- trunk/libedataserver/e-source-list.c	(original)
+++ trunk/libedataserver/e-source-list.c	Tue Sep 30 18:19:50 2008
@@ -628,6 +628,9 @@
 		gconf_xml = (char *)temp->data;
 		xmldoc = xmlParseDoc ((const xmlChar *)gconf_xml);
 
+		if (xmldoc == NULL)
+			continue;
+
 		group_uid = e_source_group_uid_from_xmldoc (xmldoc);
 		group = e_source_list_peek_group_by_uid (list, group_uid);
 		g_free (group_uid);



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