From: sunghyun kim Date: Fri, 23 Sep 2016 02:15:02 +0000 (+0900) Subject: ecore_evas_wayland_common: fix dereferenced bug X-Git-Tag: accepted/tizen/common/20160927.152708~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cdfab8ac9227920ae407c0907d13944f321609d;p=platform%2Fupstream%2Fefl.git ecore_evas_wayland_common: fix dereferenced bug Change-Id: Iceb797cb05bbcf58ca8426d5bada6c8b1ef0d345 --- diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index d980471..f60cb8d 100755 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -1732,6 +1732,7 @@ _ecore_evas_wl_common_render_flush_pre(void *data, Evas *evas EINA_UNUSED, void if (!ee->visible) return; wdata = ee->engine.data; + if(!wdata) return; if (ee->can_async_render) { struct wl_surface *surf = ecore_wl_window_surface_get(wdata->win); @@ -1744,7 +1745,7 @@ _ecore_evas_wl_common_render_flush_pre(void *data, Evas *evas EINA_UNUSED, void } } - if ((wdata) && (wdata->wm_rot.done) && + if ((wdata->wm_rot.done) && (!ee->prop.wm_rot.manual_mode.set)) { wdata->wm_rot.request = 0;