elementary: safely manipulate inlist and destroy part of it.

SVN revision: 80579
This commit is contained in:
Cedric BAIL 2012-12-10 08:18:25 +00:00
parent e7ca3a31d0
commit 7e45660338
3 changed files with 4 additions and 1 deletions

View File

@ -801,3 +801,4 @@
* Make sure private data is not NULL in elm_interface_scrollable.
* Correctly handle failure case in _x11_notify_handler_image.
* Fix missuse of EINA_INLIST_FOREACH in elm_transit.c.

View File

@ -88,6 +88,7 @@ Fixes:
* Fix focus problem in multibuttonentry. Entry can get focus only when multibuttonentry is focused.
* Make sure private data is not NULL in elm_interface_scrollable.
* Correctly handle failure case in _x11_notify_handler_image.
* Don't manipulate dead memory in Eina_Inlist in elm_transit.c.
Removals:

View File

@ -222,8 +222,9 @@ static void
_transit_remove_dead_effects(Elm_Transit *transit)
{
Elm_Transit_Effect_Module *effect_module;
Eina_Inlist *ll;
EINA_INLIST_FOREACH(transit->effect_list, effect_module)
EINA_INLIST_FOREACH_SAFE(transit->effect_list, ll, effect_module)
{
if (effect_module->deleted)
{