aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-03-16 19:06:18 +0800
committerMilan Crha <mcrha@redhat.com>2012-03-16 19:06:18 +0800
commitda3bd3696eeb149f0fe96281ad079c1dc278dd0d (patch)
treeca9a6f459c0406da06d8da9cc4ddcbeb6e8b84e3 /composer
parent648d2a33cebb27c6b8d5d65f5fc8716cbded3135 (diff)
downloadgsoc2013-evolution-da3bd3696eeb149f0fe96281ad079c1dc278dd0d.tar.gz
gsoc2013-evolution-da3bd3696eeb149f0fe96281ad079c1dc278dd0d.tar.zst
gsoc2013-evolution-da3bd3696eeb149f0fe96281ad079c1dc278dd0d.zip
Bug #665106 - Memory leak from composer setup when opening Preferences
Diffstat (limited to 'composer')
-rw-r--r--composer/e-msg-composer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 78a16f1aa1..8da99128e1 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -4954,10 +4954,10 @@ e_load_spell_languages (void)
if (language != NULL)
spell_languages = g_list_prepend (
spell_languages, (gpointer) language);
-
- g_free (language_code);
}
+ g_strfreev (strv);
+
spell_languages = g_list_reverse (spell_languages);
/* Pick a default spell language if it came back empty. */