Eo: Fix rare crash after call_resolve
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 6 Apr 2016 02:25:29 +0000 (11:25 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 6 Apr 2016 04:27:04 +0000 (13:27 +0900)
commit0862b9d08384bc1d862b90952130ec988f56b33b
tree4aaca3a4a5f2c8b011851baad689ec059ce8dc4f
parent98edbd23a4cad4698187d309a4a608f481b41263
Eo: Fix rare crash after call_resolve

It seems that calling a @class function with an EO object
(that was not the required Eo_Class) lead to a situation
where func->func was NULL. And that meant a crash after
call_resolve.

The proper fix is to properly call a @class function with a
class object.
src/lib/eo/eo.c