March 24, 2026
1:59 a.m.
On Mon Mar 23 13:43:48 2026 +0000, Rémi Bernon wrote:
I'd move `NtUserDestroyCursor` outside of the user lock, as creation happens outside of it as well, and introduce a `goto failed;` here to share the error path with the other error below: ``` failed: user_unlock(); NtUserDestroyCursor( sm_icon, 0 ); free( class ); return 0; ``` Good idea.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10271#note_133475