raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f87ba12a764afdd757d1a4e8e322aaf7c500e765

commit f87ba12a764afdd757d1a4e8e322aaf7c500e765
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Sep 17 11:30:17 2019 +0100

    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.
---
 src/lib/evas/canvas/evas_object_intercept.c | 1 +
 1 file changed, 1 insertion(+)

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);
 }
 

-- 


Reply via email to