mirror of
https://github.com/reactos/reactos.git
synced 2024-09-03 17:19:20 +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
|
@ -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