Author: cgutman
Date: Sat Aug 2 22:05:39 2008
New Revision: 35054
URL:
http://svn.reactos.org/svn/reactos?rev=35054&view=rev
Log:
- Add some more debug prints for memory allocation/freeing
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/tcpip/pool.c
Modified: branches/aicom-network-fixes/drivers/network/tcpip/tcpip/pool.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/tcpip/pool.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/tcpip/pool.c [iso-8859-1] Sat Aug
2 22:05:39 2008
@@ -48,11 +48,20 @@
}
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 );
}