aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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++;