summaryrefslogtreecommitdiff
path: root/src/lib/ephysics
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-22 19:47:55 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-22 20:14:59 +0900
commit91c0198273b906df15899eb61a7b1b39c46a2968 (patch)
tree1a3b7c3d3bd32c204e2147bf7632403be343efa9 /src/lib/ephysics
parent58fed21414399f2b65b1c72eea8dc8b4c2d0eefb (diff)
downloadefl-91c0198273b906df15899eb61a7b1b39c46a2968.tar.gz
ephysics - fix explicit possible null deref
fix CID 1039417
Diffstat (limited to 'src/lib/ephysics')
-rw-r--r--src/lib/ephysics/ephysics_body.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ephysics/ephysics_body.cpp b/src/lib/ephysics/ephysics_body.cpp
index 4235d02930..e7cb00d4a9 100644
--- a/src/lib/ephysics/ephysics_body.cpp
+++ b/src/lib/ephysics/ephysics_body.cpp
@@ -5074,6 +5074,7 @@ _ephysics_body_soft_sphere_face_evas_object_del_cb(void *data, Evas *evas EINA_U
break;
}
}
+ if (!face_obj) return;
_ephysics_body_face_evas_object_del(body, face_obj,
_ephysics_body_soft_sphere_face_obj_resize_cb);