Author: akhaldi
Date: Thu Apr 9 09:50:44 2015
New Revision: 67108
URL:
http://svn.reactos.org/svn/reactos?rev=67108&view=rev
Log:
[NDISUIO] Addendum to r67107. Better ordering of the cleanups. 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/pr…
==============================================================================
--- trunk/reactos/drivers/network/ndisuio/protocol.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndisuio/protocol.c [iso-8859-1] Thu Apr 9 09:50:44
2015
@@ -187,8 +187,8 @@
if (Status != NDIS_STATUS_SUCCESS)
{
DPRINT1("Failed to transfer data with status 0x%x\n", Status);
+ CleanupAndFreePacket(Packet, TRUE);
ExFreePool(PacketBuffer);
- CleanupAndFreePacket(Packet, TRUE);
return NDIS_STATUS_NOT_ACCEPTED;
}
}