mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +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);
|
Bucket = CONTAINING_RECORD(ListEntry, TDI_BUCKET, Entry);
|
||||||
|
|
||||||
if( Bucket->AssociatedEndpoint == Connection ) {
|
if( Bucket->AssociatedEndpoint == Connection ) {
|
||||||
|
DereferenceObject(Bucket->AssociatedEndpoint);
|
||||||
RemoveEntryList( &Bucket->Entry );
|
RemoveEntryList( &Bucket->Entry );
|
||||||
ExFreePoolWithTag( Bucket, TDI_BUCKET_TAG );
|
ExFreePoolWithTag( Bucket, TDI_BUCKET_TAG );
|
||||||
Found = TRUE;
|
Found = TRUE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue