diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-01 03:04:28 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-01 03:04:28 +0800 |
commit | f62a491ba939f188b4b37ffcb150432e25c4bad0 (patch) | |
tree | cd20e848fd595023cbf4042a1d4ed30b5f3716fe | |
parent | 763b4e07e1444c08c4a393ac562621a3d6bbb373 (diff) | |
download | gsoc2013-epiphany-f62a491ba939f188b4b37ffcb150432e25c4bad0.tar gsoc2013-epiphany-f62a491ba939f188b4b37ffcb150432e25c4bad0.tar.gz gsoc2013-epiphany-f62a491ba939f188b4b37ffcb150432e25c4bad0.tar.bz2 gsoc2013-epiphany-f62a491ba939f188b4b37ffcb150432e25c4bad0.tar.lz gsoc2013-epiphany-f62a491ba939f188b4b37ffcb150432e25c4bad0.tar.xz gsoc2013-epiphany-f62a491ba939f188b4b37ffcb150432e25c4bad0.tar.zst gsoc2013-epiphany-f62a491ba939f188b4b37ffcb150432e25c4bad0.zip |
Fix mem leak introduced by last commit.
2003-11-30 Christian Persch <chpe@cvs.gnome.org>
* src/language-editor.c: (language_editor_add):
Fix mem leak introduced by last commit.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/language-editor.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2003-11-30 Christian Persch <chpe@cvs.gnome.org> + * src/language-editor.c: (language_editor_add): + + Fix mem leak introduced by last commit. + +2003-11-30 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-dialog.c: Remove gtkoptionmenu.h include. diff --git a/src/language-editor.c b/src/language-editor.c index b864bc75c..ba8ee0f03 100644 --- a/src/language-editor.c +++ b/src/language-editor.c @@ -378,8 +378,10 @@ language_editor_add (LanguageEditor *editor, if (c && strcmp (code, c) == 0) { /* already in list, no need to add again */ + g_free (c); return; } + g_free (c); } while (gtk_tree_model_iter_next (editor->priv->model, &iter)); } |