diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-autocompletion.c | 7 |
2 files changed, 12 insertions, 1 deletions
@@ -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); } |