forked from enlightenment/efl
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>
This commit is contained in:
parent
2aa9538f73
commit
c0458aae38
|
@ -1366,6 +1366,8 @@ _ecore_evas_wl_common_render_flush_pre(void *data, Evas *evas, void *event EINA_
|
||||||
if (!surf) return;
|
if (!surf) return;
|
||||||
|
|
||||||
wdata = ee->engine.data;
|
wdata = ee->engine.data;
|
||||||
|
if (!wdata) return;
|
||||||
|
|
||||||
if (wdata->win->pending.configure) return;
|
if (wdata->win->pending.configure) return;
|
||||||
|
|
||||||
wdata->anim_callback = wl_surface_frame(surf);
|
wdata->anim_callback = wl_surface_frame(surf);
|
||||||
|
|
Loading…
Reference in New Issue