mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NTOSKRNL]
Release AddressCreationLock in MiCreatePebOrTeb on failure path svn path=/trunk/; revision=64587
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user