hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=087e19a8e1d72a159ee9731d468cf30b999adbef
commit 087e19a8e1d72a159ee9731d468cf30b999adbef Author: Prince Kumar Dubey <prince.du...@samsung.com> Date: Fri Feb 12 19:42:25 2016 +0900 [gengrid] possible crash issue fixed. Summary: reset show_it, bring_in_it and corresponding flags on item deletion Test Plan: delete item with animation and rotate the handset display. Reviewers: raster, cedric Subscribers: shilpasingh, godlytalias, govi, rajeshps Differential Revision: https://phab.enlightenment.org/D3672 --- src/lib/elm_gengrid.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index 034236a..729f9cd 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -3789,6 +3789,17 @@ _elm_gengrid_item_del_not_serious(Elm_Gen_Item *it) if (it->walking > 0) return; + if (sd->show_it == eo_it) + { + sd->show_it = NULL; + sd->show_region = EINA_FALSE; + } + if (sd->bring_in_it == eo_it) + { + sd->bring_in_it = NULL; + sd->bring_in = EINA_FALSE; + } + if (it->selected) sd->selected = eina_list_remove(sd->selected, eo_it); if (sd->last_selected_item == eo_it) --