Re: [PATCH v2 0/2] MR10271: Fixed thread safety issues with NtUserRegistClassExWOW and NtUserUnregisterClass.
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
2
Age (days ago)
2
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yongjie Yao (@yaoyongjie)