forked from enlightenment/efl
efl: and fix a potential memory leak.
SVN revision: 81922
This commit is contained in:
parent
db2a8c62f4
commit
e985899c9c
|
@ -973,6 +973,8 @@ _text_text_set(Eo *eo_obj, void *_pd, va_list *list)
|
|||
eina_stringshare_replace(&o->cur.utf8_text, _text);
|
||||
o->prev.utf8_text = NULL;
|
||||
|
||||
if (o->cur.text != text) free(text);
|
||||
|
||||
o->changed = 1;
|
||||
evas_object_change(eo_obj, obj);
|
||||
evas_object_clip_dirty(eo_obj, obj);
|
||||
|
|
Loading…
Reference in New Issue