Author: tkreuzer
Date: Wed Oct 8 00:30:57 2014
New Revision: 64587
URL:
http://svn.reactos.org/svn/reactos?rev=64587&view=rev
Log:
[NTOSKRNL]
Release AddressCreationLock in MiCreatePebOrTeb on failure path
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/procsup.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/procsup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/procsup.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/procsup.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/procsup.c [iso-8859-1] Wed Oct 8 00:30:57 2014
@@ -118,6 +118,7 @@
/* 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 @@
//
StackPtes = BYTES_TO_PAGES(KERNEL_LARGE_STACK_SIZE);
StackPages = BYTES_TO_PAGES(KERNEL_LARGE_STACK_COMMIT);
-
}
else
{