- Remove the work item from the work queue in ChewRemove
authorCameron Gutman <aicommander@gmail.com>
Sun, 9 Nov 2008 15:55:55 +0000 (15:55 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sun, 9 Nov 2008 15:55:55 +0000 (15:55 +0000)
svn path=/trunk/; revision=37264

reactos/lib/drivers/chew/workqueue.c

index e25ce32..c0d5870 100644 (file)
@@ -101,6 +101,7 @@ BOOLEAN ChewCreate
 \r
 VOID ChewRemove( PVOID Item ) {\r
     PWORK_ITEM WorkItem = Item;\r
+    RemoveEntryList( &WorkItem->Entry );\r
     IoFreeWorkItem( WorkItem->WorkItem );\r
     ExFreePool( WorkItem );\r
 }\r