diff options
Diffstat (limited to 'src/language-editor.c')
-rw-r--r-- | src/language-editor.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)); } |