aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-02-08 04:32:43 +0800
committerXan Lopez <xan@src.gnome.org>2003-02-08 04:32:43 +0800
commitf0678b1e01d7fea1ebd13b010084dbb18ecebe7d (patch)
tree93b342ecbc5e53227514c8ebbe6e119fff13768d
parent1d8988f4d183bc8481a1ed6d10ca8d0d976266bd (diff)
downloadgsoc2013-epiphany-f0678b1e01d7fea1ebd13b010084dbb18ecebe7d.tar
gsoc2013-epiphany-f0678b1e01d7fea1ebd13b010084dbb18ecebe7d.tar.gz
gsoc2013-epiphany-f0678b1e01d7fea1ebd13b010084dbb18ecebe7d.tar.bz2
gsoc2013-epiphany-f0678b1e01d7fea1ebd13b010084dbb18ecebe7d.tar.lz
gsoc2013-epiphany-f0678b1e01d7fea1ebd13b010084dbb18ecebe7d.tar.xz
gsoc2013-epiphany-f0678b1e01d7fea1ebd13b010084dbb18ecebe7d.tar.zst
gsoc2013-epiphany-f0678b1e01d7fea1ebd13b010084dbb18ecebe7d.zip
Fix two memleaks (I hope).
Fix two memleaks (I hope).
-rw-r--r--ChangeLog7
-rw-r--r--lib/widgets/ephy-spinner.c1
-rw-r--r--src/ephy-encoding-menu.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d12c9632..fb8cf438b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-02-07 Xan Lopez <xan@masilla.org>
+
+ * lib/widgets/ephy-spinner.c:
+ * src/ephy-encoding-menu.c:
+
+ Fix two memleaks (I hope).
+
2003-02-06 James Willcox <jwillcox@gnome.org>
* data/epiphany.schemas.in:
diff --git a/lib/widgets/ephy-spinner.c b/lib/widgets/ephy-spinner.c
index 7e3b4f40d..e80927c05 100644
--- a/lib/widgets/ephy-spinner.c
+++ b/lib/widgets/ephy-spinner.c
@@ -483,6 +483,7 @@ ephy_spinner_load_images (EphySpinner *spinner)
spinner->details->image_list = g_list_reverse (image_list);
g_free (image_theme);
+ g_free (path);
}
/*
diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c
index 54481dbd3..95b3ed050 100644
--- a/src/ephy-encoding-menu.c
+++ b/src/ephy-encoding-menu.c
@@ -283,7 +283,7 @@ ephy_encoding_menu_rebuild (EphyEncodingMenu *wrhm)
charset_index++;
}
-
+ g_list_foreach (charsets, (GFunc)g_free, NULL);
g_list_free (charsets);
g_string_append (xml, "</submenu>");
group_index++;