aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-17 05:34:13 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-17 05:34:13 +0800
commit33199d37d75f0073e8ded75fda9f8d7ec04e6f10 (patch)
tree63287b86db9376c83798e9ff5f946f51ceb69b16
parentc44417bd5251229119f8203ae4ed5e2c68ec9684 (diff)
downloadgsoc2013-epiphany-33199d37d75f0073e8ded75fda9f8d7ec04e6f10.tar.gz
gsoc2013-epiphany-33199d37d75f0073e8ded75fda9f8d7ec04e6f10.tar.zst
gsoc2013-epiphany-33199d37d75f0073e8ded75fda9f8d7ec04e6f10.zip
Fix more mem leaks.
2003-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Fix more mem leaks.
-rw-r--r--ChangeLog8
-rw-r--r--lib/widgets/ephy-location-entry.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a2ffdb63b..01b56a88a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,13 @@
* lib/widgets/ephy-location-entry.c: (completion_func):
- Fix mem leak.
+ Fix more mem leaks.
+
+2003-12-16 Christian Persch <chpe@cvs.gnome.org>
+
+ * lib/widgets/ephy-location-entry.c: (completion_func):
+
+ Fix mem leak. (Found by synap.)
2003-12-16 Marco Pesenti Gritti <marco@gnome.org>
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 671cf2525..b991c6065 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -255,6 +255,9 @@ completion_func (GtkEntryCompletion *completion,
g_free (item);
g_free (normalized_string);
g_free (case_normalized_string);
+ g_free (keywords);
+ g_free (normalized_keywords);
+ g_free (case_normalized_keywords);
return ret;
}