- Revert the rest of r35080

- The memory is freed in AfdAccept

svn path=/branches/aicom-network-fixes/; revision=35102
This commit is contained in:
Cameron Gutman 2008-08-04 15:19:23 +00:00
parent 23c7498a26
commit e3383af168

View file

@ -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;