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

commit 43d6fdf2be32b676156feef1760d5662376d9776
Author:     Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com>
AuthorDate: Sun Nov 5 21:36:05 2023 +0900
Commit:     GitHub <nore...@github.com>
CommitDate: Sun Nov 5 21:36:05 2023 +0900

    [ACLUI] Let image list be automatically deleted (#5890)
    
    Based on KRosUser's aclui.patch. The list view will automatically delete 
the image list.
    Don't delete the image list in DestroySecurityPage function.
    CORE-19187
---
 dll/win32/aclui/aclui.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dll/win32/aclui/aclui.c b/dll/win32/aclui/aclui.c
index 5a3f7b6d091..0ec2d8255e7 100644
--- a/dll/win32/aclui/aclui.c
+++ b/dll/win32/aclui/aclui.c
@@ -87,11 +87,6 @@ AceHeaderToSID(IN PACE_HEADER AceHeader)
 static VOID
 DestroySecurityPage(IN PSECURITY_PAGE sp)
 {
-    if(sp->hiPrincipals != NULL)
-    {
-        ImageList_Destroy(sp->hiPrincipals);
-    }
-
     DestroySidCacheMgr(sp->SidCacheMgr);
 
     if (sp->OwnerSid != NULL)

Reply via email to