genlist: fix a crash of genlist group tree example.
authorChunEon Park <hermet@hermet.pe.kr>
Wed, 14 Jan 2015 13:04:26 +0000 (22:04 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Wed, 14 Jan 2015 13:04:26 +0000 (22:04 +0900)
commitb45220bf2bad42f56db4ec329c7c1bd9b4c0ba30
tree95ea7189652f33c1c4d356ed8da156df711c43c0
parent78f1bb593fea2323b6998c1b7bfc9b2ed5c72de2
genlist: fix a crash of genlist group tree example.

don't corrupt list pointer.
we can clear items more simply.

Thanks ya-kov for reporting.
src/lib/elm_genlist.c