core: fix a leak in "core: better handling of non-UCS2 conversions that should be UCS2 (bgo #683817)"
This commit is contained in:
@@ -797,6 +797,7 @@ mm_charset_take_and_convert_to_utf8 (gchar *str, MMModemCharset charset)
|
|||||||
utf8 = g_convert (str, strlen (str),
|
utf8 = g_convert (str, strlen (str),
|
||||||
"UTF-8//TRANSLIT", "UTF-8//TRANSLIT",
|
"UTF-8//TRANSLIT", "UTF-8//TRANSLIT",
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
g_free (str);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user