mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Add some more debug prints for memory allocation/freeing
svn path=/branches/aicom-network-fixes/; revision=35054
This commit is contained in:
parent
312bb6657e
commit
31bbc55cec
1 changed files with 10 additions and 1 deletions
|
@ -48,11 +48,20 @@ VOID PoolFreeBuffer(
|
|||
}
|
||||
|
||||
PVOID TcpipAllocateFromNPagedLookasideList( PNPAGED_LOOKASIDE_LIST List ) {
|
||||
return ExAllocateFromNPagedLookasideList( List );
|
||||
PVOID Buffer;
|
||||
|
||||
Buffer = ExAllocateFromNPagedLookasideList( List );
|
||||
|
||||
TI_DbgPrint(DEBUG_MEMORY, ("Allocated from Nonpaged Lookaside List at (0x%X).\n", Buffer));
|
||||
|
||||
return Buffer;
|
||||
}
|
||||
|
||||
VOID TcpipFreeToNPagedLookasideList( PNPAGED_LOOKASIDE_LIST List,
|
||||
PVOID Thing ) {
|
||||
|
||||
TI_DbgPrint(DEBUG_MEMORY, ("Freeing buffer (0x%X) to Nonpaged Lookaside List.\n", Thing));
|
||||
|
||||
ExFreeToNPagedLookasideList( List, Thing );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue