raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=eb67a08c8daff89e88063a4d06dbf07a6bac3379

commit eb67a08c8daff89e88063a4d06dbf07a6bac3379
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Nov 7 17:34:30 2017 +0900

    eo - fix freeq usage to not use freeq for a vtable cleaning
    
    the freeq can't allow things to access the content of the pointer
    because the content canbe written over by canary handling qhen
    submitted to the freeq. clear it inline then just submit the final
    pointer to the freeq.
    
    @fix
---
 src/lib/eo/eo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 91a62fe944..2cf9cabe6b 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1188,7 +1188,7 @@ static void
 _vtable_free(Eo_Vtable *vtable)
 {
    if (!vtable) return;
-   eina_freeq_ptr_main_add(vtable, EINA_FREE_CB(_vtable_func_clean_all), 0);
+   _vtable_func_clean_all(vtable);
    eina_freeq_ptr_main_add(vtable, free, sizeof(*vtable));
 }
 

-- 


Reply via email to