aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-17 05:23:57 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-17 05:23:57 +0800
commitc44417bd5251229119f8203ae4ed5e2c68ec9684 (patch)
tree61f28e5974a1b1d533c465d50e8f9a8d26526d29
parent7a407a918297b8c54ee79174aac54bc84de97d29 (diff)
downloadgsoc2013-epiphany-c44417bd5251229119f8203ae4ed5e2c68ec9684.tar.gz
gsoc2013-epiphany-c44417bd5251229119f8203ae4ed5e2c68ec9684.tar.zst
gsoc2013-epiphany-c44417bd5251229119f8203ae4ed5e2c68ec9684.zip
Fix mem leak.
2003-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Fix mem leak.
-rw-r--r--ChangeLog6
-rw-r--r--lib/widgets/ephy-location-entry.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 02db21b1c..a2ffdb63b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-16 Christian Persch <chpe@cvs.gnome.org>
+
+ * lib/widgets/ephy-location-entry.c: (completion_func):
+
+ Fix mem leak.
+
2003-12-16 Marco Pesenti Gritti <marco@gnome.org>
* embed/ephy-encodings.c: (ephy_encodings_get_encodings):
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index c935f9d04..671cf2525 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -242,6 +242,8 @@ completion_func (GtkEntryCompletion *completion,
if (!strncmp (key_prefixed, case_normalized_string,
strlen (key_prefixed)))
{
+ g_free (key_prefixed);
+
ret = TRUE;
break;
}