From 0ec2878cb609546afa93359bb191333597eaabda Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 Jul 2025 08:09:04 +1000 Subject: [PATCH] Fix crash freeing cursors in Wayland Regression in [0] missed clearing the mask when setting RGBA cursors. [0]: 7b02b813f89d390d8a73434043022343a22d32a6 --- intern/ghost/intern/GHOST_WindowWayland.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/intern/ghost/intern/GHOST_WindowWayland.cc b/intern/ghost/intern/GHOST_WindowWayland.cc index cb8743b9374..9b587d8499f 100644 --- a/intern/ghost/intern/GHOST_WindowWayland.cc +++ b/intern/ghost/intern/GHOST_WindowWayland.cc @@ -314,6 +314,7 @@ static void gwl_window_cursor_custom_store(GWL_WindowCursorCustomShape &ccs, ccs.bitmap = static_cast(malloc(bitmap_size)); memcpy(ccs.bitmap, bitmap, bitmap_size); } + ccs.mask = nullptr; } ccs.size[0] = size[0];