]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-spell.c
empathy-spell: fix string leak
[empathy.git] / libempathy-gtk / empathy-spell.c
index fb1441e6f3446740d905945f0c1c7a4fec7e8e62..709d09be09bcab542319870ec2dcd09c6c88e094 100644 (file)
@@ -284,7 +284,7 @@ enumerate_dicts (const gchar * const lang_tag,
                return;
        }
 
-       *list = g_list_append (*list, g_strdup (lang));
+       *list = g_list_append (*list, lang);
 }
 
 GList *