forked from enlightenment/efl
Edje entry: Fix memory leak.
Summary: Fix memory leak If user or extra cursor is used, these should be free on shutdown. @fix Test Plan: NA Reviewers: tasn, herdsman Subscribers: shilpasingh, cedric, jpeg Projects: #efl Differential Revision: https://phab.enlightenment.org/D3550
This commit is contained in:
parent
55b62bbd70
commit
97b7964e8c
|
@ -2678,6 +2678,12 @@ _edje_entry_real_part_shutdown(Edje *ed, Edje_Real_Part *rp)
|
|||
evas_object_del(en->cursor_fg);
|
||||
evas_object_del(en->cursor_fg2);
|
||||
|
||||
if (en->cursor_user)
|
||||
evas_textblock_cursor_free(en->cursor_user);
|
||||
|
||||
if (en->cursor_user_extra)
|
||||
evas_textblock_cursor_free(en->cursor_user_extra);
|
||||
|
||||
if (en->pw_timer)
|
||||
{
|
||||
ecore_timer_del(en->pw_timer);
|
||||
|
|
Loading…
Reference in New Issue