jpeg pushed a commit to branch master.

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

commit dccdd203358b68bb7f01d694f7dfa67e38639015
Author: Jean-Philippe Andre <[email protected]>
Date:   Wed Jul 19 17:12:35 2017 +0900

    elm: Fix a safety error message
    
    Happens when shutting down E
---
 src/lib/elementary/efl_ui_win.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 47c85ef2b4..50c9c1cc08 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -5343,7 +5343,10 @@ _efl_ui_win_efl_object_destructor(Eo *obj EINA_UNUSED, 
Efl_Ui_Win_Data *pd EINA_
 {
 #ifdef HAVE_ELEMENTARY_WL2
    if (pd->type == ELM_WIN_FAKE)
-     ecore_wl2_window_free(pd->wl.win);
+     {
+        if (pd->wl.win)
+          ecore_wl2_window_free(pd->wl.win);
+     }
 #endif
    efl_destructor(efl_super(obj, MY_CLASS));
 }

-- 


Reply via email to