https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b9ecf4b055b9187dedc24271e1df075ddd027e16

commit b9ecf4b055b9187dedc24271e1df075ddd027e16
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Tue Aug 2 10:46:37 2022 +0900
Commit:     GitHub <[email protected]>
CommitDate: Tue Aug 2 10:46:37 2022 +0900

    [NTUSER] Release WinSta->spklList at IntWinStaObjectDelete (#4593)
    
    Call UserAssignmentUnlock((PVOID*)&WinSta->spklList); in 
IntWinStaObjectDelete function.
    CORE-11700
---
 win32ss/user/ntuser/winsta.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/win32ss/user/ntuser/winsta.c b/win32ss/user/ntuser/winsta.c
index 88266ad5bb0..4c91558b497 100644
--- a/win32ss/user/ntuser/winsta.c
+++ b/win32ss/user/ntuser/winsta.c
@@ -128,6 +128,8 @@ IntWinStaObjectDelete(
 
     RtlDestroyAtomTable(WinSta->AtomTable);
 
+    UserAssignmentUnlock((PVOID*)&WinSta->spklList);
+
     return STATUS_SUCCESS;
 }
 

Reply via email to