mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[NTOSKRNL]
Release AddressCreationLock in MiCreatePebOrTeb on failure path svn path=/trunk/; revision=64587
This commit is contained in:
parent
2d22f6f372
commit
d5cfae9ac2
1 changed files with 1 additions and 1 deletions
|
@ -118,6 +118,7 @@ MiCreatePebOrTeb(IN PEPROCESS Process,
|
|||
/* Bail out, if still nothing free was found */
|
||||
if (Result == TableFoundNode)
|
||||
{
|
||||
KeReleaseGuardedMutex(&Process->AddressCreationLock);
|
||||
ExFreePoolWithTag(Vad, 'ldaV');
|
||||
return STATUS_NO_MEMORY;
|
||||
}
|
||||
|
@ -333,7 +334,6 @@ MmCreateKernelStack(IN BOOLEAN GuiStack,
|
|||
//
|
||||
StackPtes = BYTES_TO_PAGES(KERNEL_LARGE_STACK_SIZE);
|
||||
StackPages = BYTES_TO_PAGES(KERNEL_LARGE_STACK_COMMIT);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue