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
server.c
shell.c
sockets.c
sockets.h
xwayland.c
xwm.c