mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[NDISUIO]
- Another addendum to r67107: don't let CleanupAndFreePacket try to free the buffer since it does not have the correct pointer CORE-8210 svn path=/trunk/; revision=67110
This commit is contained in:
parent
dceb52e202
commit
02ae5f591c
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ NduReceive(NDIS_HANDLE ProtocolBindingContext,
|
||||||
if (Status != NDIS_STATUS_SUCCESS)
|
if (Status != NDIS_STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
DPRINT1("Failed to transfer data with status 0x%x\n", Status);
|
DPRINT1("Failed to transfer data with status 0x%x\n", Status);
|
||||||
CleanupAndFreePacket(Packet, TRUE);
|
CleanupAndFreePacket(Packet, FALSE);
|
||||||
ExFreePool(PacketBuffer);
|
ExFreePool(PacketBuffer);
|
||||||
return NDIS_STATUS_NOT_ACCEPTED;
|
return NDIS_STATUS_NOT_ACCEPTED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue