forked from enlightenment/enlightenment
prevent double free on physics bodies on shutdown
SVN revision: 75861
This commit is contained in:
parent
5f41bccb39
commit
b2dda596f2
|
@ -850,7 +850,6 @@ _e_mod_physics_del(E_Physics *p)
|
||||||
ephysics_world_del(p->world);
|
ephysics_world_del(p->world);
|
||||||
EINA_INLIST_FOREACH_SAFE(p->shelves, l, eps)
|
EINA_INLIST_FOREACH_SAFE(p->shelves, l, eps)
|
||||||
{
|
{
|
||||||
if (eps->body) ephysics_body_del(eps->body);
|
|
||||||
free(eps);
|
free(eps);
|
||||||
}
|
}
|
||||||
free(p);
|
free(p);
|
||||||
|
|
Loading…
Reference in New Issue