mirror of
https://github.com/reactos/reactos.git
synced 2024-09-03 17:19:20 +00:00
- Close the handle on failure
svn path=/branches/aicom-network-fixes/; revision=35116
This commit is contained in:
parent
69ef129571
commit
1fccbafaed
|
@ -867,6 +867,7 @@ static NTSTATUS FindDeviceDescForAdapter( PUNICODE_STRING Name,
|
|||
|
||||
if( !NT_SUCCESS(Status) ) {
|
||||
TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n", i));
|
||||
NtClose( EnumKey );
|
||||
ExFreePool( Kbio );
|
||||
return Status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue