mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 06:58:10 +00:00
[IP]
- Fix a reference leak when aborting a listen request svn path=/trunk/; revision=48806
This commit is contained in:
parent
41106fa541
commit
cf913565c0
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ BOOLEAN TCPAbortListenForSocket( PCONNECTION_ENDPOINT Listener,
|
|||
Bucket = CONTAINING_RECORD(ListEntry, TDI_BUCKET, Entry);
|
||||
|
||||
if( Bucket->AssociatedEndpoint == Connection ) {
|
||||
DereferenceObject(Bucket->AssociatedEndpoint);
|
||||
RemoveEntryList( &Bucket->Entry );
|
||||
ExFreePoolWithTag( Bucket, TDI_BUCKET_TAG );
|
||||
Found = TRUE;
|
||||
|
|
Loading…
Reference in a new issue