evas: Add safety checks to avoid crash
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 22 Aug 2017 00:37:39 +0000 (09:37 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 22 Aug 2017 02:50:31 +0000 (11:50 +0900)
commit76d4c965c412dc530643159a29741d95fc4c5dc2
treedb2f39e9eb3c5941eae2cdca99761d7436e2dce8
parentba36214a4711f4a075f2ce55c47d65a65c7382d2
evas: Add safety checks to avoid crash

Without more information or clear reproduction scenario (this crash
doesn't happen for me), this is probably the best we can do.

Fixes T5532
src/lib/evas/canvas/evas_object_main.c