Author: tfaber Date: Thu Apr 9 10:36:35 2015 New Revision: 67110
URL: http://svn.reactos.org/svn/reactos?rev=67110&view=rev Log: [NDISUIO] - Another addendum to r67107: don't let CleanupAndFreePacket try to free the buffer since it does not have the correct pointer CORE-8210
Modified: trunk/reactos/drivers/network/ndisuio/protocol.c
Modified: trunk/reactos/drivers/network/ndisuio/protocol.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndisuio/pro... ============================================================================== --- trunk/reactos/drivers/network/ndisuio/protocol.c [iso-8859-1] (original) +++ trunk/reactos/drivers/network/ndisuio/protocol.c [iso-8859-1] Thu Apr 9 10:36:35 2015 @@ -187,7 +187,7 @@ if (Status != NDIS_STATUS_SUCCESS) { DPRINT1("Failed to transfer data with status 0x%x\n", Status); - CleanupAndFreePacket(Packet, TRUE); + CleanupAndFreePacket(Packet, FALSE); ExFreePool(PacketBuffer); return NDIS_STATUS_NOT_ACCEPTED; }