Author: cgutman
Date: Tue Apr 7 08:12:57 2009
New Revision: 40410
URL:
http://svn.reactos.org/svn/reactos?rev=40410&view=rev
Log:
- Set FCB->Recv.Window to NULL so it doesn't get freed again later
Modified:
trunk/reactos/drivers/network/afd/afd/connect.c
Modified: trunk/reactos/drivers/network/afd/afd/connect.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/co…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/connect.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/connect.c [iso-8859-1] Tue Apr 7 08:12:57 2009
@@ -50,7 +50,8 @@
ExAllocatePool( NonPagedPool, FCB->Send.Size );
if( !FCB->Send.Window ) {
- ExFreePool( FCB->Recv.Window );
+ ExFreePool( FCB->Recv.Window );
+ FCB->Recv.Window = NULL;
return STATUS_NO_MEMORY;
}