aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-09-17 11:30:17 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-09-17 11:31:15 +0100
commitf87ba12a764afdd757d1a4e8e322aaf7c500e765 (patch)
tree4ab05496ed9dd5183cbb321473ac68f633f9fe8e
parentefl_ui_table: protect again negative tests (diff)
downloadefl-f87ba12a764afdd757d1a4e8e322aaf7c500e765.tar.gz
evas - in case handle scope data being null
apbbb saw something that had this scope return null ... so handel - but it shouldn't get this far... can't figure out why though.
-rw-r--r--src/lib/evas/canvas/evas_object_intercept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_intercept.c b/src/lib/evas/canvas/evas_object_intercept.c
index 2f45448823..5729493e99 100644
--- a/src/lib/evas/canvas/evas_object_intercept.c
+++ b/src/lib/evas/canvas/evas_object_intercept.c
@@ -48,6 +48,7 @@ void
evas_object_intercept_cleanup(Evas_Object *eo_obj)
{
Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
+ if (!obj) return;
if (obj->interceptors) free(obj->interceptors);
}