Fix crash freeing cursors in Wayland

Regression in [0] missed clearing the mask when setting RGBA cursors.

[0]: 7b02b813f8
This commit is contained in:
Campbell Barton
2025-07-08 08:09:04 +10:00
parent 39215f00a4
commit 0ec2878cb6

View File

@@ -314,6 +314,7 @@ static void gwl_window_cursor_custom_store(GWL_WindowCursorCustomShape &ccs,
ccs.bitmap = static_cast<uint8_t *>(malloc(bitmap_size));
memcpy(ccs.bitmap, bitmap, bitmap_size);
}
ccs.mask = nullptr;
}
ccs.size[0] = size[0];