Author: cgutman
Date: Sun Nov 9 09:55:55 2008
New Revision: 37264
URL:
http://svn.reactos.org/svn/reactos?rev=37264&view=rev
Log:
- Remove the work item from the work queue in ChewRemove
Modified:
trunk/reactos/lib/drivers/chew/workqueue.c
Modified: trunk/reactos/lib/drivers/chew/workqueue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/chew/workqueue…
==============================================================================
--- trunk/reactos/lib/drivers/chew/workqueue.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/chew/workqueue.c [iso-8859-1] Sun Nov 9 09:55:55 2008
@@ -101,6 +101,7 @@
VOID ChewRemove( PVOID Item ) {
PWORK_ITEM WorkItem = Item;
+ RemoveEntryList( &WorkItem->Entry );
IoFreeWorkItem( WorkItem->WorkItem );
ExFreePool( WorkItem );
}