Summary:
Edje entry: Make cursors to null after free
To prevent any illegal access of cursors
can lead to crash
@fix
Test Plan: NA
Reviewers: tasn
Reviewed By: tasn
Subscribers: shilpasingh, cedric
Differential Revision: https://phab.enlightenment.org/D3093
{
Anchor *an = en->anchors->data;
- evas_textblock_cursor_free(an->start);
- evas_textblock_cursor_free(an->end);
while (an->sel)
{
Sel *sel = an->sel->data;
free(sel);
an->sel = eina_list_remove_list(an->sel, an->sel);
}
+ evas_textblock_cursor_free(an->start);
+ evas_textblock_cursor_free(an->end);
free(an->name);
free(an);
en->anchors = eina_list_remove_list(en->anchors, en->anchors);