Author: cgutman
Date: Mon Aug 4 20:46:59 2008
New Revision: 35116
URL:
http://svn.reactos.org/svn/reactos?rev=35116&view=rev
Log:
- Close the handle on failure
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c
Modified: branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1] Mon Aug
4 20:46:59 2008
@@ -867,6 +867,7 @@
if( !NT_SUCCESS(Status) ) {
TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n",
i));
+ NtClose( EnumKey );
ExFreePool( Kbio );
return Status;
}