Do not forget to release the rundown protection.

See issue #2348 for more details.

svn path=/trunk/; revision=29122
This commit is contained in:
Hervé Poussineau 2007-09-20 14:54:43 +00:00
parent 08bf20fb83
commit 3a469030ac

View file

@ -916,6 +916,7 @@ NtSetInformationThread(IN HANDLE ThreadHandle,
/* Release the lock and rundown */
ExReleasePushLockShared(&Process->ProcessLock);
KeLeaveCriticalRegion();
ExReleaseRundownProtection(&Process->RundownProtect);
}
else
{