[ros-diffs] [cgutman] 35114: - Fix one more memory leak - Note: The reason the network stack stops functioning occasionally is because it runs out of resources not because ReactOS crashes which is why I'm tracking down memory leaks

cgutman at svn.reactos.org cgutman at svn.reactos.org
Mon Aug 4 23:06:40 CEST 2008


Author: cgutman
Date: Mon Aug  4 16:06:39 2008
New Revision: 35114

URL: http://svn.reactos.org/svn/reactos?rev=35114&view=rev
Log:
 - Fix one more memory leak
 - Note: The reason the network stack stops functioning occasionally is because it runs out of resources not because ReactOS crashes which is why I'm tracking down memory leaks

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

Modified: branches/aicom-network-fixes/lib/drivers/ip/transport/tcp/tcp.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/lib/drivers/ip/transport/tcp/tcp.c?rev=35114&r1=35113&r2=35114&view=diff
==============================================================================
--- branches/aicom-network-fixes/lib/drivers/ip/transport/tcp/tcp.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/lib/drivers/ip/transport/tcp/tcp.c [iso-8859-1] Mon Aug  4 16:06:39 2008
@@ -843,6 +843,7 @@
 
 	    if( Bucket->Request.RequestContext == Irp ) {
 		RemoveEntryList( &Bucket->Entry );
+		PoolFreeBuffer( Bucket );
 		break;
 	    }
 	}



More information about the Ros-diffs mailing list