aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rwxr-xr-xlib/widgets/ephy-toolbars-group.c4
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 291189871..44460072c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-02-21 Pekka Lampila <medar@kapina.org>
+
+ * lib/widgets/ephy-toolbars-group.c: (load_defaults),
+ (load_toolbar):
+
+ Free xml documents
+
2003-02-21 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/ephy-editable-toolbar.c: (find_action),
diff --git a/lib/widgets/ephy-toolbars-group.c b/lib/widgets/ephy-toolbars-group.c
index e923044f1..98e36feb9 100755
--- a/lib/widgets/ephy-toolbars-group.c
+++ b/lib/widgets/ephy-toolbars-group.c
@@ -325,6 +325,8 @@ load_defaults (EphyToolbarsGroup *t)
child = child->next;
}
+
+ xmlFreeDoc (doc);
}
static void
@@ -345,6 +347,8 @@ load_toolbar (EphyToolbarsGroup *t)
t->priv->toolbars = g_node_new (NULL);
parse_toolbars (t, root->children);
+
+ xmlFreeDoc (doc);
}
char *