bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=39347f45aa9f58684643dadde3d4f95ba5bd6f5c
commit 39347f45aa9f58684643dadde3d4f95ba5bd6f5c Author: Marcel Hollerbach <[email protected]> Date: Tue Mar 24 15:48:20 2020 +0100 eo: free vtable when erroring out if there is a error when settings API to the vtable, free the vtable instead of leaking it. CID 1422015 Reviewed-by: Stefan Schmidt <[email protected]> Differential Revision: https://phab.enlightenment.org/D11580 --- src/lib/eo/eo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 2bdf284f5f..9f1c4f03ba 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -1866,6 +1866,7 @@ efl_object_override(Eo *eo_id, const Efl_Object_Ops *ops) else { _vtable_free(vtable, &obj->klass->vtable); + free(vtable); } goto err; --
