mirror of git://git.sysmocom.de/ofono
Fix memory leak
This commit is contained in:
parent
d717908c69
commit
807201e969
|
@ -2845,5 +2845,6 @@ char *cbs_decode_text(GSList *cbs_list, char *iso639_lang)
|
|||
utf8 = g_convert(buf, bufsize, "UTF-8//TRANSLIT", "UCS-2BE",
|
||||
NULL, NULL, NULL);
|
||||
|
||||
g_free(buf);
|
||||
return utf8;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue