Suspicious call to ExFreePool commented out for peer review?

svn path=/trunk/; revision=3552
This commit is contained in:
Robert Dickenson 2002-09-24 15:10:35 +00:00
parent be84fb0f1c
commit 44572b3e1e

View file

@ -118,7 +118,7 @@ NTSTATUS SendFragments(
/* Allocate NDIS packet */ /* Allocate NDIS packet */
NdisAllocatePacket(&NdisStatus, &IFC->NdisPacket, GlobalPacketPool); NdisAllocatePacket(&NdisStatus, &IFC->NdisPacket, GlobalPacketPool);
if (NdisStatus != NDIS_STATUS_SUCCESS) { if (NdisStatus != NDIS_STATUS_SUCCESS) {
ExFreePool(Data); //ExFreePool(Data); // RobD - why are we trying to free this here?, not allocated yet!
ExFreePool(IFC); ExFreePool(IFC);
return STATUS_INSUFFICIENT_RESOURCES; return STATUS_INSUFFICIENT_RESOURCES;
} }