wlroots/xwayland/selection
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
..
dnd.c xwayland/selection/dnd: fix parameter type 2026-01-20 16:39:08 +08:00
incoming.c xwayland: fix wl_array rollback when adding selection targets 2026-02-05 09:26:55 +08:00
outgoing.c xwayland: fix memory leak on pipe() failure 2026-03-03 14:37:42 +08:00
selection.c xwayland/xwm: implement somewhat asynchronous request flushing 2024-10-07 21:51:15 +03:00