Author: cwittich
Date: Sun Sep 14 12:20:45 2008
New Revision: 36243
URL:
http://svn.reactos.org/svn/reactos?rev=36243&view=rev
Log:
fix memory allocation for NDIS_WORK_ITEM
Modified:
trunk/reactos/drivers/network/ndis/ndis/miniport.c
Modified: trunk/reactos/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Sun Sep 14 12:20:45
2008
@@ -900,7 +900,7 @@
NDIS_DbgPrint(DEBUG_MINIPORT, ("Called.\n"));
- NdisWorkItem = ExAllocatePool(NonPagedPool, sizeof(PNDIS_WORK_ITEM));
+ NdisWorkItem = ExAllocatePool(NonPagedPool, sizeof(NDIS_WORK_ITEM));
WorkItem = (PWORK_QUEUE_ITEM)NdisWorkItem->WrapperReserved;