From 10494b97f75c9b20d373854d1f419b312331cba9 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 3 Aug 2003 22:59:36 +0000 Subject: Fix mem leak, patch from galeon. 2003-08-03 Christian Persch * lib/ephy-autocompletion.c: (ephy_autocompletion_finalize_impl): Fix mem leak, patch from galeon. --- ChangeLog | 6 ++++++ lib/ephy-autocompletion.c | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 03ef1ae28..3012bbbe5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-03 Christian Persch + + * lib/ephy-autocompletion.c: (ephy_autocompletion_finalize_impl): + + Fix mem leak, patch from galeon. + 2003-08-03 Marco Pesenti Gritti * 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 @@ -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); } -- cgit v1.2.3