[ros-diffs] [cgutman] 38869: - More memtrack fixes

cgutman at svn.reactos.org cgutman at svn.reactos.org
Sun Jan 18 05:39:46 CET 2009


Author: cgutman
Date: Sat Jan 17 22:39:45 2009
New Revision: 38869

URL: http://svn.reactos.org/svn/reactos?rev=38869&view=rev
Log:
 - More memtrack fixes

Modified:
    branches/aicom-network-fixes/lib/drivers/ip/network/memtrack.c

Modified: branches/aicom-network-fixes/lib/drivers/ip/network/memtrack.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/lib/drivers/ip/network/memtrack.c?rev=38869&r1=38868&r2=38869&view=diff
==============================================================================
--- branches/aicom-network-fixes/lib/drivers/ip/network/memtrack.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/lib/drivers/ip/network/memtrack.c [iso-8859-1] Sat Jan 17 22:39:45 2009
@@ -82,14 +82,14 @@
 	if( ThingInList->Thing == Thing ) {
 	    RemoveEntryList(Entry);
 
-	    TrackDumpFL( FileName, LineNo );
-
-            //DbgPrint("TRACK: SPECIFIED ALREADY ALLOCATED ITEM %x\n", Thing);
+            TI_DbgPrint(MAX_TRACE,("TRACK: SPECIFIED ALREADY ALLOCATED ITEM %x\n", Thing));
             ShowTrackedThing( "Double Alloc (Item in list)", ThingInList, FALSE );
             ShowTrackedThing( "Double Alloc (Item not in list)", TrackedThing, FALSE );
 
             ExFreeToNPagedLookasideList( &AllocatedObjectsLookasideList,
 	                                 ThingInList );
+
+            break;
 	}
 	Entry = Entry->Flink;
     }
@@ -97,8 +97,6 @@
     InsertHeadList( &AllocatedObjectsList, &TrackedThing->Entry );
 
     TcpipReleaseSpinLock( &AllocatedObjectsLock, OldIrql );
-
-    /*TrackDumpFL( FileName, LineNo );*/
 }
 
 BOOL ShowTag( DWORD Tag ) {



More information about the Ros-diffs mailing list