wlroots/xwayland
Wang Yu a55b85e2e1 xwayland: fix memory leak on pipe() failure
When pipe() fails in xwm_selection_send_data(), the function
returns without cleaning up the allocated transfer structure
and initialized wl_array. This causes a memory leak.

Add wl_array_release() and free() to clean up resources when
pipe() fails.

Signed-off-by: Wang Yu <wangyu@uniontech.com>
2026-03-03 14:37:42 +08:00
..
selection xwayland: fix memory leak on pipe() failure 2026-03-03 14:37:42 +08:00
meson.build xwayland: require xcb-xfixes 1.15 2025-06-16 07:40:04 +00:00
server.c Revert "xwayland: Reset signal mask and handlers before exec" 2025-04-20 21:12:33 +02:00
shell.c Assert (almost all) signals have no attached listeners on destroy 2025-01-15 19:53:11 +03:00
sockets.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
sockets.h Add some missing includes/declarations 2023-06-05 21:06:19 +00:00
xwayland.c xwayland: lock new buffer instead of the old one 2026-01-05 20:53:34 +05:30
xwm.c xwayland: try flushing immediately in xwm_schedule_flush() 2026-02-04 00:14:49 +01:00