evas: more hardening of evas access map.x

This commit is contained in:
Cedric BAIL 2017-02-06 10:46:00 -08:00
parent e1bd14f933
commit 1b4a2c0ac9
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ evas_object_clip_recalc(Evas_Object_Protected_Data *obj)
evas_object_coords_recalc(eo_obj, obj);
if (EINA_UNLIKELY((obj->map->cur.map) && (obj->map->cur.usemap)))
if (EINA_UNLIKELY((!!obj->map) && (obj->map->cur.map) && (obj->map->cur.usemap)))
{
cx = obj->map->cur.map->normal_geometry.x;
cy = obj->map->cur.map->normal_geometry.y;