gfx mapping: + null check for safety

This commit is contained in:
Hermet Park 2020-02-14 13:09:14 +09:00
parent 9569156b3f
commit 1fff2f13ed
1 changed files with 1 additions and 0 deletions

View File

@ -305,6 +305,7 @@ _map_calc(const Eo *eo_obj, Evas_Object_Protected_Data *obj, Efl_Gfx_Mapping_Dat
if (!m)
{
m = evas_map_new(count);
if (!m) return NULL;
map_alloc = EINA_TRUE;
}
else _evas_map_reset(m);