Author: cgutman
Date: Tue Aug 12 10:27:15 2008
New Revision: 35289
URL:
http://svn.reactos.org/svn/reactos?rev=35289&view=rev
Log:
- Fix another memory leak
Modified:
branches/aicom-network-fixes/drivers/network/afd/afd/main.c
Modified: branches/aicom-network-fixes/drivers/network/afd/afd/main.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/afd/afd/main.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/afd/afd/main.c [iso-8859-1] Tue Aug 12
10:27:15 2008
@@ -207,6 +207,8 @@
ExFreePool( FCB->AddressFrom );
if( FCB->LocalAddress )
ExFreePool( FCB->LocalAddress );
+ if( FCB->RemoteAddress )
+ ExFreePool( FCB->RemoteAddress );
ExFreePool(FCB->TdiDeviceName.Buffer);