aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-08-04 06:59:36 +0800
committerChristian Persch <chpe@src.gnome.org>2003-08-04 06:59:36 +0800
commit10494b97f75c9b20d373854d1f419b312331cba9 (patch)
tree19b26ef31745bfe052244ab460b0a7dc9b85efec
parent29b1ab6e653d2e19a665e56c7d6fe6e200ec38bd (diff)
downloadgsoc2013-epiphany-10494b97f75c9b20d373854d1f419b312331cba9.tar
gsoc2013-epiphany-10494b97f75c9b20d373854d1f419b312331cba9.tar.gz
gsoc2013-epiphany-10494b97f75c9b20d373854d1f419b312331cba9.tar.bz2
gsoc2013-epiphany-10494b97f75c9b20d373854d1f419b312331cba9.tar.lz
gsoc2013-epiphany-10494b97f75c9b20d373854d1f419b312331cba9.tar.xz
gsoc2013-epiphany-10494b97f75c9b20d373854d1f419b312331cba9.tar.zst
gsoc2013-epiphany-10494b97f75c9b20d373854d1f419b312331cba9.zip
Fix mem leak, patch from galeon.
2003-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-autocompletion.c: (ephy_autocompletion_finalize_impl): Fix mem leak, patch from galeon.
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-autocompletion.c7
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 03ef1ae28..3012bbbe5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-03 Christian Persch <chpe@cvs.gnome.org>
+
+ * lib/ephy-autocompletion.c: (ephy_autocompletion_finalize_impl):
+
+ Fix mem leak, patch from galeon.
+
2003-08-03 Marco Pesenti Gritti <marco@it.gnome.org>
* NEWS:
diff --git a/lib/ephy-autocompletion.c b/lib/ephy-autocompletion.c
index db7bfc70a..17fc052b7 100644
--- a/lib/ephy-autocompletion.c
+++ b/lib/ephy-autocompletion.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2002 Ricardo Fernández Pascual
+ * Copyright (C) 2002 Ricardo Fernández Pascual
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -14,6 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Id$
+ *
*/
#include <string.h>
@@ -181,6 +184,8 @@ ephy_autocompletion_finalize_impl (GObject *o)
g_strfreev (p->prefixes);
g_free (p->prefix_lengths);
+ g_free (p);
+
G_OBJECT_CLASS (g_object_class)->finalize (o);
}