summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-07-19 17:12:35 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-07-20 14:46:49 +0900
commitdccdd203358b68bb7f01d694f7dfa67e38639015 (patch)
treee161708cc8d516418021a467503ab1f4b654de2c /src/lib/elementary/efl_ui_win.c
parentd6c95d1e4b5fd5adbef7e193cc5f6851749ef19f (diff)
elm: Fix a safety error message
Happens when shutting down E
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c5
1 files changed, 4 insertions, 1 deletions
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_
5343{ 5343{
5344#ifdef HAVE_ELEMENTARY_WL2 5344#ifdef HAVE_ELEMENTARY_WL2
5345 if (pd->type == ELM_WIN_FAKE) 5345 if (pd->type == ELM_WIN_FAKE)
5346 ecore_wl2_window_free(pd->wl.win); 5346 {
5347 if (pd->wl.win)
5348 ecore_wl2_window_free(pd->wl.win);
5349 }
5347#endif 5350#endif
5348 efl_destructor(efl_super(obj, MY_CLASS)); 5351 efl_destructor(efl_super(obj, MY_CLASS));
5349} 5352}