forked from enlightenment/efl
ephysics: Avoid use after free.
Like the one before. This time we use free deirectly so no delay. Don't use it after being freed. CID: 1039894
This commit is contained in:
parent
95b8c98e91
commit
c244dfe89e
|
@ -407,8 +407,8 @@ _ephysics_world_free(EPhysics_World *world)
|
|||
eina_condition_free(&world->condition);
|
||||
eina_lock_free(&world->mutex);
|
||||
|
||||
free(world);
|
||||
INF("World %p deleted.", world);
|
||||
free(world);
|
||||
ephysics_dom_count_dec();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue