forked from enlightenment/efl
Evas: Filter: Handle memory alloc error a little more gracefully
In this case, just set the filter type to none. SVN revision: 58761
This commit is contained in:
parent
cb19804054
commit
044b02ce0e
|
@ -208,6 +208,8 @@ evas_object_filter_set(Evas_Object *o, Evas_Filter filter)
|
|||
info->data = calloc(1, finfo->datasize);
|
||||
if (!info->data)
|
||||
{
|
||||
o->filter = EVAS_FILTER_NONE;
|
||||
return EINA_FALSE;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue