Author: cgutman
Date: Sat Sep 18 15:50:56 2010
New Revision: 48806
URL:
http://svn.reactos.org/svn/reactos?rev=48806&view=rev
Log:
[IP]
- Fix a reference leak when aborting a listen request
Modified:
trunk/reactos/lib/drivers/ip/transport/tcp/accept.c
Modified: trunk/reactos/lib/drivers/ip/transport/tcp/accept.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/transport/t…
==============================================================================
--- trunk/reactos/lib/drivers/ip/transport/tcp/accept.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/transport/tcp/accept.c [iso-8859-1] Sat Sep 18 15:50:56
2010
@@ -117,6 +117,7 @@
Bucket = CONTAINING_RECORD(ListEntry, TDI_BUCKET, Entry);
if( Bucket->AssociatedEndpoint == Connection ) {
+ DereferenceObject(Bucket->AssociatedEndpoint);
RemoveEntryList( &Bucket->Entry );
ExFreePoolWithTag( Bucket, TDI_BUCKET_TAG );
Found = TRUE;