In many case eo_data_scope_get() will return NULL
Such as object is already free , invalid obj_id reference.
Added safety check to avoid crash
Change-Id: Ic509b63df19e3f1d5d8a6ed7a1985821fe835488
Signed-off-by: Awadhesh Singh <awadhesh1.s@samsung.com>
(cherry picked from commit
cd1adb59dad9df70f6e57858f8b750b5d87336a2)
MAGIC_CHECK_END();
o = eo_data_scope_get(eo_obj, MY_CLASS);
+ /* TIZEN_ONLY(20170106): Safety check to avoid crash */
+ if (!o)
+ return EINA_FALSE;
+ /*END*/
return o->last_computed.ellipsis;
}
/* END */