forked from enlightenment/efl
evas: add safety check code to avoid crash
Test Plan: evas_smart_objects_calculate(NULL); Reviewers: zmike, Hermet, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6805
This commit is contained in:
parent
ecbcc26a5f
commit
206d40e331
|
@ -1905,6 +1905,7 @@ _evas_canvas_efl_canvas_scene_smart_objects_calculate(Eo *eo_e, Evas_Public_Data
|
||||||
EAPI void
|
EAPI void
|
||||||
evas_smart_objects_calculate(Eo *eo_e)
|
evas_smart_objects_calculate(Eo *eo_e)
|
||||||
{
|
{
|
||||||
|
EINA_SAFETY_ON_NULL_RETURN(eo_e);
|
||||||
evas_call_smarts_calculate(eo_e);
|
evas_call_smarts_calculate(eo_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue