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
Change-Id: I6e47fec4d6ad53bc3943c90dfe1805a75cceb2fa
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
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);