diff options
-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)); } |