[list] opensource merge (r69555)
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 22 Mar 2012 05:58:49 +0000 (05:58 +0000)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 23 Mar 2012 06:00:56 +0000 (15:00 +0900)
commit4842663f316dda28e89bd7297d8b682400770571
tree88fc6889f74fde222445117f8f836fa384f2bb18
parentfc3cdda6eb8181878d5c9cb438dd5d7613ef8f67
[list] opensource merge (r69555)

From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elm_list] bug fix: crash occurs when
container which contains the elm_list is deleted on the "elm_list item
clicked" callback

I have resolved the elm_list issue(goto ELM_LIST_CRASH_ISSUE_MAIL below, I
sent mail but I cannot find the previous mail -_-;).
It would be related with double free issue. In the "sub-obejct-del"
callback which name is _sub_del() sets item->icon to NULL.
And in the EVAS_CALLBACK_MOUSE_UP callback funtion which name is
_mouse_up() calls evas_object_unref();
It would try to free the item->icon but the item->icon is already set to
NULL. So.. the crash would occur..

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69555 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
Change-Id: I6abbe50623da890aba28f6a24c4f301800264c87
src/lib/elm_list.c