aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-toolbars-model.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-08-06 00:35:11 +0800
committerChristian Persch <chpe@src.gnome.org>2003-08-06 00:35:11 +0800
commit3bb530e15f6b8afcfb403b8f70c2acabcaccdc37 (patch)
treec78a8b1a15839d95069af35f1a6e45394da4d0c4 /lib/egg/egg-toolbars-model.c
parent49bf5d7f6eb779c0a69a0c04a66b9ae62d278a69 (diff)
downloadgsoc2013-epiphany-3bb530e15f6b8afcfb403b8f70c2acabcaccdc37.tar
gsoc2013-epiphany-3bb530e15f6b8afcfb403b8f70c2acabcaccdc37.tar.gz
gsoc2013-epiphany-3bb530e15f6b8afcfb403b8f70c2acabcaccdc37.tar.bz2
gsoc2013-epiphany-3bb530e15f6b8afcfb403b8f70c2acabcaccdc37.tar.lz
gsoc2013-epiphany-3bb530e15f6b8afcfb403b8f70c2acabcaccdc37.tar.xz
gsoc2013-epiphany-3bb530e15f6b8afcfb403b8f70c2acabcaccdc37.tar.zst
gsoc2013-epiphany-3bb530e15f6b8afcfb403b8f70c2acabcaccdc37.zip
Fix mem leaks.
2003-08-04 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml): * lib/egg/eggtoolbar.c: (egg_toolbar_finalize): Fix mem leaks.
Diffstat (limited to 'lib/egg/egg-toolbars-model.c')
-rwxr-xr-xlib/egg/egg-toolbars-model.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c
index e030bd29d..2166ede5f 100755
--- a/lib/egg/egg-toolbars-model.c
+++ b/lib/egg/egg-toolbars-model.c
@@ -126,6 +126,7 @@ egg_toolbars_model_to_xml (EggToolbarsModel *t)
name = egg_toolbars_model_get_item_name (t, item->type, item->id);
xmlSetProp (node, "type", item->type);
xmlSetProp (node, "name", name);
+ g_free (name);
}
}
}