Author: cgutman
Date: Mon Aug 4 10:19:23 2008
New Revision: 35102
URL:
http://svn.reactos.org/svn/reactos?rev=35102&view=rev
Log:
- Revert the rest of r35080
- The memory is freed in AfdAccept
Modified:
branches/aicom-network-fixes/drivers/network/afd/afd/listen.c
Modified: branches/aicom-network-fixes/drivers/network/afd/afd/listen.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/afd/afd/listen.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/afd/afd/listen.c [iso-8859-1] Mon Aug 4
10:19:23 2008
@@ -131,12 +131,11 @@
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;