Edje smart: Add NULL safety
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 22 Apr 2015 01:51:25 +0000 (10:51 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 22 Apr 2015 02:33:04 +0000 (11:33 +0900)
commit4ba0227bf4903729cb79ff547cced9c62e80b97e
tree949c3837c2bd633ca00e22a932c5bfd9b4be3c72
parent39e380f7542b6f409bae71d66531b88b6b42f590
Edje smart: Add NULL safety

This case actually happens with E. It's invalid but still happening,
and because Eo doesn't actually check the parent (or its type) fully,
an invalid, non-NULL object was returned.

See T2336 (this is not fixing the root cause!).
src/lib/edje/edje_smart.c