[empathy] empathy-spell: fix string leak



commit 9ad6ad6ddfed99c88567a29407cd481ac4cce9f4
Author: Pavel Vasin <rat4vier gmail com>
Date:   Sun Oct 7 14:00:52 2012 +0400

    empathy-spell: fix string leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685652

 libempathy-gtk/empathy-spell.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-spell.c b/libempathy-gtk/empathy-spell.c
index fb1441e..709d09b 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 *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]