mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Suspicious call to ExFreePool commented out for peer review?
svn path=/trunk/; revision=3552
This commit is contained in:
parent
be84fb0f1c
commit
44572b3e1e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue