aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-stock-icons.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-25 21:53:48 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-25 21:53:48 +0800
commit8873db168de0809230e68187cd6bd92880a818fb (patch)
tree79fddcaf086e4aa15924e780893ec4c513fc0376 /lib/ephy-stock-icons.c
parent82b1ad8936e032380ef6fb816067359b8cc4a368 (diff)
downloadgsoc2013-epiphany-8873db168de0809230e68187cd6bd92880a818fb.tar
gsoc2013-epiphany-8873db168de0809230e68187cd6bd92880a818fb.tar.gz
gsoc2013-epiphany-8873db168de0809230e68187cd6bd92880a818fb.tar.bz2
gsoc2013-epiphany-8873db168de0809230e68187cd6bd92880a818fb.tar.lz
gsoc2013-epiphany-8873db168de0809230e68187cd6bd92880a818fb.tar.xz
gsoc2013-epiphany-8873db168de0809230e68187cd6bd92880a818fb.tar.zst
gsoc2013-epiphany-8873db168de0809230e68187cd6bd92880a818fb.zip
Fix mem leaks.
2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Fix mem leaks.
Diffstat (limited to 'lib/ephy-stock-icons.c')
-rw-r--r--lib/ephy-stock-icons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ephy-stock-icons.c b/lib/ephy-stock-icons.c
index 21d4b170c..06c77e3bb 100644
--- a/lib/ephy-stock-icons.c
+++ b/lib/ephy-stock-icons.c
@@ -71,7 +71,7 @@ ephy_stock_icons_init (void)
gtk_icon_set_add_source (icon_set, icon_source);
gtk_icon_factory_add (factory, items[i], icon_set);
gtk_icon_set_unref (icon_set);
- g_free (icon_source);
+ gtk_icon_source_free (icon_source);
}
for (i = 0; i < (int) G_N_ELEMENTS (icon_theme_items); i++)
@@ -82,7 +82,7 @@ ephy_stock_icons_init (void)
gtk_icon_set_add_source (icon_set, icon_source);
gtk_icon_factory_add (factory, icon_theme_items[i], icon_set);
gtk_icon_set_unref (icon_set);
- g_free (icon_source);
+ gtk_icon_source_free (icon_source);
}
g_object_unref (G_OBJECT (factory));