diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2013-09-12 15:53:10 +0100 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2013-09-12 15:53:10 +0100 |
commit | c244dfe89ebf936f14f642c1ae090e3c5d6acb6b (patch) | |
tree | ea4a72c76414e3002ec7dfcbf4667faeddfe99ed /src/lib/ephysics | |
parent | 95b8c98e9149ae5cbffe9fea96c1603eb24d2757 (diff) | |
download | efl-c244dfe89ebf936f14f642c1ae090e3c5d6acb6b.tar.gz |
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
Diffstat (limited to 'src/lib/ephysics')
-rw-r--r-- | src/lib/ephysics/ephysics_world.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ephysics/ephysics_world.cpp b/src/lib/ephysics/ephysics_world.cpp index b75bb953e7..60d6b00b3d 100644 --- a/src/lib/ephysics/ephysics_world.cpp +++ b/src/lib/ephysics/ephysics_world.cpp @@ -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(); } |