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:
Cedric BAIL 2013-02-12 06:07:25 +00:00
parent ed58d0dd05
commit 5acb8abc5c
1 changed files with 1 additions and 1 deletions

View File

@ -417,9 +417,9 @@ _text_font_set(Eo *eo_obj, void *_pd, va_list *list)
if ((!font) || (size <= 0)) return;
fdesc = evas_font_desc_new();
if (!(o->cur.font && !strcmp(font, o->cur.font)))
{
fdesc = evas_font_desc_new();
evas_font_name_parse(fdesc, font);
}
else