aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorPavel Vasin <rat4vier@gmail.com>2012-10-07 18:00:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-10-08 15:55:59 +0800
commit9ad6ad6ddfed99c88567a29407cd481ac4cce9f4 (patch)
tree175604f4f27f07fda94f7796c2e664d01d56d247 /libempathy-gtk
parentf36171ef13831fbf2e7df7087e5899e05a37f2b2 (diff)
downloadgsoc2013-empathy-9ad6ad6ddfed99c88567a29407cd481ac4cce9f4.tar
gsoc2013-empathy-9ad6ad6ddfed99c88567a29407cd481ac4cce9f4.tar.gz
gsoc2013-empathy-9ad6ad6ddfed99c88567a29407cd481ac4cce9f4.tar.bz2
gsoc2013-empathy-9ad6ad6ddfed99c88567a29407cd481ac4cce9f4.tar.lz
gsoc2013-empathy-9ad6ad6ddfed99c88567a29407cd481ac4cce9f4.tar.xz
gsoc2013-empathy-9ad6ad6ddfed99c88567a29407cd481ac4cce9f4.tar.zst
gsoc2013-empathy-9ad6ad6ddfed99c88567a29407cd481ac4cce9f4.zip
empathy-spell: fix string leak
https://bugzilla.gnome.org/show_bug.cgi?id=685652
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-spell.c b/libempathy-gtk/empathy-spell.c
index fb1441e6f..709d09be0 100644
--- a/libempathy-gtk/empathy-spell.c
+++ b/libempathy-gtk/empathy-spell.c
@@ -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 *