evas: Prevent crashes in case of error
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 22 Sep 2016 11:45:04 +0000 (20:45 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 23 Sep 2016 02:28:14 +0000 (11:28 +0900)
commitef759b63951c0fffb61cf8366c0aff884301b5df
tree5f0ed37361e96bcf92e0601e0eb4981fc4c925e0
parent63088b583c26e72223d3ff4149706b5380f0c1d4
evas: Prevent crashes in case of error

SEGV would happen if the cache was NULL, as the error pointer
was also NULL in some cases (root cause for cache == NULL not
quite known, happens in elm_suite with CK_FORK=no).

Note: simply adding evas_common_init() to evas_init() leads to
a whole new set of issues with CK_FORK=no elm_suite - not good.
src/lib/evas/cache/evas_cache_image.c