ion(a)svn.reactos.com wrote:
Fix queue item not being cleaned. Thank you Jim
Modified: branches/alex_devel_branch/reactos/ntoskrnl/ke/queue.c
------------------------------------------------------------------------
*Modified: branches/alex_devel_branch/reactos/ntoskrnl/ke/queue.c*
--- branches/alex_devel_branch/reactos/ntoskrnl/ke/queue.c
2005-03-04 04:10:03 UTC (rev 13812)
+++ branches/alex_devel_branch/reactos/ntoskrnl/ke/queue.c
2005-03-04 04:15:46 UTC (rev 13813)
@@ -207,7 +207,7 @@
/* Remove the Entry */
RemoveEntryList(ListEntry);
- Entry->Flink = NULL;
+ ListEntry->Flink = NULL;
/* Nothing to wait on */
break;
This looks wrong. You should never clean list item this way, instead
you should use "InitializeListHead(ListEntry);".
NVM, I didn't see the work queue code uses the list item in a bit
unusual way...
- Filip