mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Revert the rest of r35080
- The memory is freed in AfdAccept svn path=/branches/aicom-network-fixes/; revision=35102
This commit is contained in:
parent
23c7498a26
commit
e3383af168
1 changed files with 2 additions and 3 deletions
|
@ -131,12 +131,11 @@ static NTSTATUS NTAPI ListenComplete
|
|||
PLIST_ENTRY PendingIrp =
|
||||
RemoveHeadList( &FCB->PendingIrpList[FUNCTION_PREACCEPT] );
|
||||
PLIST_ENTRY PendingConn = FCB->PendingConnections.Flink;
|
||||
Qelt = CONTAINING_RECORD( PendingConn, AFD_TDI_OBJECT_QELT, ListEntry );
|
||||
SatisfyPreAccept
|
||||
( CONTAINING_RECORD( PendingIrp, IRP,
|
||||
Tail.Overlay.ListEntry ),
|
||||
Qelt );
|
||||
ExFreePool( Qelt );
|
||||
CONTAINING_RECORD( PendingConn, AFD_TDI_OBJECT_QELT,
|
||||
ListEntry ) );
|
||||
}
|
||||
|
||||
FCB->NeedsNewListen = TRUE;
|
||||
|
|
Loading…
Reference in a new issue