Do not forget to release the rundown protection.
authorHervé Poussineau <hpoussin@reactos.org>
Thu, 20 Sep 2007 14:54:43 +0000 (14:54 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Thu, 20 Sep 2007 14:54:43 +0000 (14:54 +0000)
See issue #2348 for more details.

svn path=/trunk/; revision=29122

reactos/ntoskrnl/ps/query.c

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