[ros-diffs] [cgutman] 35116: - Close the handle on failure

cgutman at svn.reactos.org cgutman at svn.reactos.org
Tue Aug 5 03:47:00 CEST 2008


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/network/tcpip/datalink/lan.c?rev=35116&r1=35115&r2=35116&view=diff
==============================================================================
--- 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;
             }



More information about the Ros-diffs mailing list