From 69ef129571a076e8ddb76cb9a892ece7c53fa8c9 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 4 Aug 2008 21:06:39 +0000 Subject: [PATCH] - 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 svn path=/branches/aicom-network-fixes/; revision=35114 --- lib/drivers/ip/transport/tcp/tcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/drivers/ip/transport/tcp/tcp.c b/lib/drivers/ip/transport/tcp/tcp.c index e4a547f23ad..ac15b8a5b82 100644 --- a/lib/drivers/ip/transport/tcp/tcp.c +++ b/lib/drivers/ip/transport/tcp/tcp.c @@ -843,6 +843,7 @@ VOID TCPRemoveIRP( PCONNECTION_ENDPOINT Endpoint, PIRP Irp ) { if( Bucket->Request.RequestContext == Irp ) { RemoveEntryList( &Bucket->Entry ); + PoolFreeBuffer( Bucket ); break; } }