core: fix a leak in "core: better handling of non-UCS2 conversions that should be UCS2 (bgo #683817)"

This commit is contained in:
Dan Williams
2012-09-12 23:02:53 -05:00
parent c524734d9f
commit 210af3241c

View File

@@ -797,6 +797,7 @@ mm_charset_take_and_convert_to_utf8 (gchar *str, MMModemCharset charset)
utf8 = g_convert (str, strlen (str),
"UTF-8//TRANSLIT", "UTF-8//TRANSLIT",
NULL, NULL, NULL);
g_free (str);
break;
}