genlist : fix genlist dangling pointer crash in item select
authorSangHyeon Lee <dltkdgus1764@gmail.com>
Sun, 19 Jul 2015 15:09:23 +0000 (00:09 +0900)
committerSangHyeon Lee <dltkdgus1764@gmail.com>
Sun, 19 Jul 2015 15:16:26 +0000 (00:16 +0900)
commitbdd6456ab5574829b6c62753590afb04fd74838b
tree9892883c85f46485de5acd89ca84307b8edeb0db
parent75c74b40688e27e8ac3cff3e733c87989ec2b419
genlist : fix genlist dangling pointer crash in item select

Summary:
Fix genlist crash issue of T2553 which happened by dangling pointer
access after deletion in item_select.
after item_focused callback, user call deletion and item_select din't
cover those cases.
Resolves: T2553

@fix

Test Plan: elementary_test -> genlist focus -> choose Genlist Cear on Focus
then originally crash will be happened. This patch will solve that problem.
src/lib/elm_genlist.c