mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +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);
|
&ObjectAttributes);
|
||||||
ASSERT(NT_SUCCESS(Status));
|
ASSERT(NT_SUCCESS(Status));
|
||||||
|
|
||||||
|
/* Free the DACL */
|
||||||
|
ExFreePoolWithTag(Dacl, TAG_SE);
|
||||||
|
|
||||||
/* Create 'LSA_AUTHENTICATION_INITIALIZED' event */
|
/* Create 'LSA_AUTHENTICATION_INITIALIZED' event */
|
||||||
RtlInitUnicodeString(&Name, L"LSA_AUTHENTICATION_INITIALIZED");
|
RtlInitUnicodeString(&Name, L"LSA_AUTHENTICATION_INITIALIZED");
|
||||||
InitializeObjectAttributes(&ObjectAttributes,
|
InitializeObjectAttributes(&ObjectAttributes,
|
||||||
|
|
Loading…
Reference in a new issue