forked from enlightenment/efl
efl/evas: fix that awesome memory leak in E17 and every apps that don't change font name.
SVN revision: 83837
This commit is contained in:
parent
ed58d0dd05
commit
5acb8abc5c
|
@ -417,9 +417,9 @@ _text_font_set(Eo *eo_obj, void *_pd, va_list *list)
|
||||||
|
|
||||||
if ((!font) || (size <= 0)) return;
|
if ((!font) || (size <= 0)) return;
|
||||||
|
|
||||||
fdesc = evas_font_desc_new();
|
|
||||||
if (!(o->cur.font && !strcmp(font, o->cur.font)))
|
if (!(o->cur.font && !strcmp(font, o->cur.font)))
|
||||||
{
|
{
|
||||||
|
fdesc = evas_font_desc_new();
|
||||||
evas_font_name_parse(fdesc, font);
|
evas_font_name_parse(fdesc, font);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue