2004-06-14 Not Zed <NotZed@Ximian.com>
* libedataserver/e-source-group.c
(e_source_group_new_from_xmldoc): abort and fail if we get an xml
error setting up the new_source entries. #59592.
+2004-06-14 Not Zed <NotZed@Ximian.com>
+
+ * libedataserver/e-source-group.c
+ (e_source_group_new_from_xmldoc): abort and fail if we get an xml
+ error setting up the new_source entries. #59592.
+
2004-06-03 JP Rosevear <jpr@novell.com>
* configure.in: bump version, libtool numbers
2004-06-03 JP Rosevear <jpr@novell.com>
* configure.in: bump version, libtool numbers
for (p = root->children; p != NULL; p = p->next) {
ESource *new_source = e_source_new_from_xml_node (p);
for (p = root->children; p != NULL; p = p->next) {
ESource *new_source = e_source_new_from_xml_node (p);
+
+ if (new_source == NULL) {
+ g_object_unref (new);
+ goto done;
+ }
e_source_group_add_source (new, new_source, -1);
}
e_source_group_add_source (new, new_source, -1);
}