prevent double free on physics bodies on shutdown
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 30 Aug 2012 09:53:11 +0000 (09:53 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 30 Aug 2012 09:53:11 +0000 (09:53 +0000)
SVN revision: 75861

src/modules/physics/e_mod_physics.c

index 7b737eb..829adf7 100644 (file)
@@ -850,7 +850,6 @@ _e_mod_physics_del(E_Physics *p)
      ephysics_world_del(p->world);
    EINA_INLIST_FOREACH_SAFE(p->shelves, l, eps)
      {
-        if (eps->body) ephysics_body_del(eps->body);
         free(eps);
      }
    free(p);