Eo: Fix reference leak when failing to resolve function.
authorTom Hacohen <tom@stosb.com>
Wed, 19 Oct 2016 15:14:15 +0000 (16:14 +0100)
committerTom Hacohen <tom@stosb.com>
Wed, 19 Oct 2016 15:32:16 +0000 (16:32 +0100)
commit5a659fafd22de295f8a4fb276e343f0da870779f
tree3119b328473f4df7eb4360dabf956367708425eb
parentf4eb94a7d8d2b57cc7856596e6489c339482e9dd
Eo: Fix reference leak when failing to resolve function.

When resolving a function for an object the object would get reference,
and then in some failure cases won't be freed.

I suspect this is a regression following the reshuffling that was done
in that function recently.

Thanks to zmike for investigating and reporting this.

Fixes T4740

@fix
src/lib/eo/eo.c