We were only calling xwl_present_unrealize_window for the toplevel
window, but the list can contain entries from child windows as well,
in which case we were leaving dangling pointers to freed memory.
Closes: https://gitlab.freedesktop.org/xorg/xserver/issues/1000
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile.am | ||
| drm.xml | ||
| meson.build | ||
| xwayland-cursor.c | ||
| xwayland-cursor.h | ||
| xwayland-cvt.c | ||
| xwayland-cvt.h | ||
| xwayland-glamor-eglstream.c | ||
| xwayland-glamor-gbm.c | ||
| xwayland-glamor-xv.c | ||
| xwayland-glamor.c | ||
| xwayland-glamor.h | ||
| xwayland-glx.c | ||
| xwayland-glx.h | ||
| xwayland-input.c | ||
| xwayland-input.h | ||
| xwayland-output.c | ||
| xwayland-output.h | ||
| xwayland-pixmap.c | ||
| xwayland-pixmap.h | ||
| xwayland-present.c | ||
| xwayland-present.h | ||
| xwayland-screen.c | ||
| xwayland-screen.h | ||
| xwayland-shm.c | ||
| xwayland-shm.h | ||
| xwayland-types.h | ||
| xwayland-vidmode.c | ||
| xwayland-vidmode.h | ||
| xwayland-window-buffers.c | ||
| xwayland-window-buffers.h | ||
| xwayland-window.c | ||
| xwayland-window.h | ||
| xwayland.c | ||