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.
This commit is contained in:
Carsten Haitzler 2019-09-17 11:30:17 +01:00
parent b0f293d37c
commit f87ba12a76
1 changed files with 1 additions and 0 deletions

View File

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