found that list corruption bug. it was also resulting in a meory spray
authorPhillip Susi <phreak@iag.net>
Thu, 16 Dec 1999 22:59:03 +0000 (22:59 +0000)
committerPhillip Susi <phreak@iag.net>
Thu, 16 Dec 1999 22:59:03 +0000 (22:59 +0000)
svn path=/trunk/; revision=881

reactos/ntoskrnl/ps/thread.c

index eb18242..9580d2e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: thread.c,v 1.41 1999/12/14 00:54:29 phreak Exp $
+/* $Id: thread.c,v 1.42 1999/12/16 22:59:03 phreak Exp $
  *
  * COPYRIGHT:              See COPYING in the top level directory
  * PROJECT:                ReactOS kernel
@@ -161,7 +161,6 @@ VOID PsReapThreads(VOID)
        
        if (current->Tcb.State == THREAD_STATE_TERMINATED_1)
          {
-            RemoveEntryList(&current->Tcb.ThreadListEntry);
             DPRINT("Reaping thread %x\n", current);
             current->Tcb.State = THREAD_STATE_TERMINATED_2;
             KeReleaseSpinLock(&PiThreadListLock, oldIrql);