mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[NTOSKRNL] Don't leak DACL
Spotted by Thomas :-)
This commit is contained in:
@@ -205,6 +205,9 @@ SepInitializationPhase1(VOID)
|
||||
&ObjectAttributes);
|
||||
ASSERT(NT_SUCCESS(Status));
|
||||
|
||||
/* Free the DACL */
|
||||
ExFreePoolWithTag(Dacl, TAG_SE);
|
||||
|
||||
/* Create 'LSA_AUTHENTICATION_INITIALIZED' event */
|
||||
RtlInitUnicodeString(&Name, L"LSA_AUTHENTICATION_INITIALIZED");
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
|
||||
Reference in New Issue
Block a user