- Initially set Packet to NULL

svn path=/branches/aicom-network-fixes/; revision=35856
This commit is contained in:
Cameron Gutman 2008-09-01 13:12:34 +00:00
parent bbf9cb252c
commit 480dd52090

View file

@ -408,6 +408,8 @@ NdisAllocatePacket(
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;