Author: cgutman
Date: Mon Sep 1 08:12:34 2008
New Revision: 35856
URL:
http://svn.reactos.org/svn/reactos?rev=35856&view=rev
Log:
- Initially set Packet to NULL
Modified:
branches/aicom-network-fixes/drivers/network/ndis/ndis/buffer.c
Modified: branches/aicom-network-fixes/drivers/network/ndis/ndis/buffer.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/ndis/ndis/buffer.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/ndis/ndis/buffer.c [iso-8859-1] Mon Sep
1 08:12:34 2008
@@ -408,6 +408,8 @@
NDIS_DbgPrint(MAX_TRACE, ("Status (0x%X) Packet (0x%X) PoolHandle
(0x%X).\n",
Status, Packet, PoolHandle));
+ *Packet = NULL;
+
if (Pool == NULL)
{
*Status = NDIS_STATUS_FAILURE;