mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 17:32:32 +00:00
Removed redundant tracking (now incorporated into NdisAllocatePacket, etc)
that was causing a bugcheck in the 'ping to us' case. The memory was detected tracked twice (correctly). This condition was detected by mifritcher after I checked in. svn path=/trunk/; revision=9659
This commit is contained in:
parent
57c3c75356
commit
25ae3e20a7
2 changed files with 1 additions and 4 deletions
|
@ -91,7 +91,6 @@ PIP_PACKET PrepareICMPPacket(
|
|||
exFreePool(DataBuffer);
|
||||
return NULL;
|
||||
}
|
||||
Track(NDIS_PACKET_TAG,NdisPacket);
|
||||
|
||||
TI_DbgPrint(MAX_TRACE, ("NdisPacket at (0x%X).\n", NdisPacket));
|
||||
|
||||
|
@ -103,7 +102,6 @@ PIP_PACKET PrepareICMPPacket(
|
|||
exFreePool(DataBuffer);
|
||||
return NULL;
|
||||
}
|
||||
Track(NDIS_BUFFER_TAG,NdisBuffer);
|
||||
|
||||
TI_DbgPrint(MAX_TRACE, ("NdisBuffer at (0x%X).\n", NdisBuffer));
|
||||
|
||||
|
|
|
@ -63,11 +63,10 @@ VOID TrackWithTag( DWORD Tag, PVOID Thing, PCHAR FileName, DWORD LineNo ) {
|
|||
if( ThingInList->Thing == Thing ) {
|
||||
RemoveEntryList(Entry);
|
||||
|
||||
KeReleaseSpinLock( &AllocatedObjectsLock, OldIrql );
|
||||
ShowTrackedThing( "Alloc", ThingInList, FileName, LineNo );
|
||||
|
||||
ExFreePool( ThingInList );
|
||||
TrackDumpFL( FileName, LineNo );
|
||||
KeReleaseSpinLock( &AllocatedObjectsLock, OldIrql );
|
||||
DbgPrint("TRACK: SPECIFIED ALREADY ALLOCATED ITEM %x\n", Thing);
|
||||
KeBugCheck( 0 );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue