efl: another leak-- in Evas_Object_Text.

SVN revision: 81198
This commit is contained in:
Cedric BAIL 2012-12-18 01:31:52 +00:00
parent c0f7773fa0
commit 9cbe37a36a
1 changed files with 1 additions and 0 deletions

View File

@ -977,6 +977,7 @@ _text_text_set(Eo *eo_obj, void *_pd, va_list *list)
}
else
{
if (text) free(text);
eina_stringshare_replace(&o->cur.utf8_text, NULL);
}
_evas_object_text_recalc(eo_obj);