aboutsummaryrefslogtreecommitdiffstats
path: root/src/language-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/language-editor.c')
-rw-r--r--src/language-editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/language-editor.c b/src/language-editor.c
index 84c19ec2e..6950062dd 100644
--- a/src/language-editor.c
+++ b/src/language-editor.c
@@ -154,6 +154,7 @@ language_editor_update_pref (LanguageEditor *editor)
gtk_tree_model_get_value (GTK_TREE_MODEL (editor->priv->model),
&iter, COL_DATA, &val);
index = g_value_get_int (&val);
+ g_value_unset (&val);
strings = g_slist_append(strings, GINT_TO_POINTER(index));
}