raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e14a11d9fa93c0958d3ae0892841be10b0f5e814
commit e14a11d9fa93c0958d3ae0892841be10b0f5e814 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Tue Sep 6 22:12:23 2016 +0900 eo base - fix free of all callbacks to set callbacks to NULL we set count to 0 but not ptr to NULL. this we must do after free so when other destructors run dont go relying on this ptr to be valid! --- src/lib/eo/eo_base_class.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c index fd362ec..cf94450 100644 --- a/src/lib/eo/eo_base_class.c +++ b/src/lib/eo/eo_base_class.c @@ -945,6 +945,7 @@ _eo_callback_remove_all(Efl_Object_Data *pd) _eo_callback_free(pd->callbacks[i]); free(pd->callbacks); + pd->callbacks = NULL; pd->callbacks_count = 0; } --
