eo: Add null check
Summary: This commit add null check on _efl_object_invalidate In EO_OBJ_POINTER, if obj_id is null, obj can also be null. Test Plan: N/A Reviewers: cedric, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7068
This commit is contained in:
parent
2f9c23a87e
commit
9d197f38bb
|
@ -134,7 +134,7 @@ _efl_object_invalidate(Eo *obj_id, Efl_Object_Data *pd)
|
|||
{
|
||||
_efl_pending_futures_clear(pd);
|
||||
|
||||
EO_OBJ_POINTER(obj_id, obj);
|
||||
EO_OBJ_POINTER_RETURN(obj_id, obj);
|
||||
|
||||
// Finally invalidate itself if it wasn't done already
|
||||
// I am not sure this is a good idea, but it force the
|
||||
|
|
Loading…
Reference in New Issue