devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=8287202c43e07c3363853406df4a07fca7409397
commit 8287202c43e07c3363853406df4a07fca7409397 Author: Chris Michael <[email protected]> Date: Mon Dec 7 10:00:23 2015 -0500 ecore-wl2: Don't free display structure during display cleanup function Due to reference caching, we cannot free the display structure here yet. During calls to ecore_wl2_display_destroy (or others), if the number of references reaches zero, then we end up calling wl_display_destroy (or equivelant). If we free our display structure during cleanup function, then calls to wl_display_destroy will cause a segfault as our display->wayland_display has already been freed from the structure @fix Signed-off-by: Chris Michael <[email protected]> --- src/lib/ecore_wl2/ecore_wl2_display.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c index 289485b..6f5abfb 100644 --- a/src/lib/ecore_wl2/ecore_wl2_display.c +++ b/src/lib/ecore_wl2/ecore_wl2_display.c @@ -363,7 +363,6 @@ _ecore_wl2_display_cleanup(Ecore_Wl2_Display *ewd) eina_hash_del_by_key(_client_displays, ewd->name); free(ewd->name); - free(ewd); } Ecore_Wl2_Window * --
