eo: Check refs in efl_data_scope_safe_get
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 11 Aug 2017 01:58:56 +0000 (10:58 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 11 Aug 2017 02:22:11 +0000 (11:22 +0900)
commite2f8ba7ad9d71d7eb6638e92f9c79e9dcb8e9474
tree90e8fe0feacc57755e0d4181860c9414dde685a5
parent521e2ab83ce0949de8101602d3596f30b7650bcb
eo: Check refs in efl_data_scope_safe_get

This makes sure the object is actually still alive and kicking before
returning any data. Otherwise the "safe" word is a bit of an abuse...

Ref T5869

@fix
src/lib/eo/eo.c
src/tests/eo/suite/eo_test_general.c