evolution-data-server/bgo-334807-eds-crasher.patch

13 lines
387 B
Diff

--- libedataserver/e-source-group.c.orig 2005-12-08 08:59:00.000000000 +0100
+++ libedataserver/e-source-group.c 2006-03-23 15:19:38.363378094 +0100
@@ -216,6 +216,9 @@ e_source_group_new_from_xmldoc (xmlDocPt
goto done;
new = g_object_new (e_source_group_get_type (), NULL);
+ if (!new)
+ goto done;
+
new->priv->uid = g_strdup (uid);
e_source_group_set_name (new, name);