mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 21:16:09 +00:00
- Initially set Packet to NULL
svn path=/branches/aicom-network-fixes/; revision=35856
This commit is contained in:
parent
bbf9cb252c
commit
480dd52090
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue