diff --git a/src/detection/displayserver/linux/wayland/wayland.c b/src/detection/displayserver/linux/wayland/wayland.c index 79585b9b0..69a42611b 100644 --- a/src/detection/displayserver/linux/wayland/wayland.c +++ b/src/detection/displayserver/linux/wayland/wayland.c @@ -252,6 +252,10 @@ const char* ffdsConnectWayland(FFDisplayServerResult* result) { data.ffwl_proxy_destroy(data.zxdgOutputManager); } + if (data.wpColorManager) { + data.ffwl_proxy_destroy(data.wpColorManager); + } + data.ffwl_proxy_destroy(registry); ffwl_display_disconnect(data.display);