aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-location-entry.c2
1 files changed, 2 insertions, 0 deletions
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;
}