mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
[NTOSKRNL] Don't leak DACL
Spotted by Thomas :-)
This commit is contained in:
parent
3c8356e752
commit
95bc44e214
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue