summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-07 13:37:30 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-08 10:01:52 -0400
commitc0458aae38cb38263e4af0e2c8f7ba3a6367dd19 (patch)
tree44f363262e67cdedf6a073e71e70e34a2f68ac16 /src/modules/ecore_evas
parent2aa9538f73a03db55853df4936a2bda6a6aa6624 (diff)
ecore-evas-wayland: Fix potential null dereference
Quick patch to fix a potential null derefence in render_flush_pre callback. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/modules/ecore_evas')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c2
1 files changed, 2 insertions, 0 deletions
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 aca1b6d..30ddb30 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1366,6 +1366,8 @@ _ecore_evas_wl_common_render_flush_pre(void *data, Evas *evas, void *event EINA_
1366 if (!surf) return; 1366 if (!surf) return;
1367 1367
1368 wdata = ee->engine.data; 1368 wdata = ee->engine.data;
1369 if (!wdata) return;
1370
1369 if (wdata->win->pending.configure) return; 1371 if (wdata->win->pending.configure) return;
1370 1372
1371 wdata->anim_callback = wl_surface_frame(surf); 1373 wdata->anim_callback = wl_surface_frame(surf);