aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Lampila <medar@kapina.org>2003-02-21 21:54:32 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-21 21:54:32 +0800
commit6c8e698f726899d3e4a128f69c8663730a5515b5 (patch)
treec8f0a3d3daa75c28a76531973139b0be6891ae86
parenta3d3dccb3b0320900696f6a2246b07afb28766ec (diff)
downloadgsoc2013-epiphany-6c8e698f726899d3e4a128f69c8663730a5515b5.tar
gsoc2013-epiphany-6c8e698f726899d3e4a128f69c8663730a5515b5.tar.gz
gsoc2013-epiphany-6c8e698f726899d3e4a128f69c8663730a5515b5.tar.bz2
gsoc2013-epiphany-6c8e698f726899d3e4a128f69c8663730a5515b5.tar.lz
gsoc2013-epiphany-6c8e698f726899d3e4a128f69c8663730a5515b5.tar.xz
gsoc2013-epiphany-6c8e698f726899d3e4a128f69c8663730a5515b5.tar.zst
gsoc2013-epiphany-6c8e698f726899d3e4a128f69c8663730a5515b5.zip
Free xml documents
2003-02-21 Pekka Lampila <medar@kapina.org> * lib/widgets/ephy-toolbars-group.c: (load_defaults), (load_toolbar): Free xml documents
-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 *