mirror of
https://github.com/reactos/reactos.git
synced 2024-09-18 16:52:54 +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) ) {
|
if( !NT_SUCCESS(Status) ) {
|
||||||
TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n", i));
|
TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n", i));
|
||||||
|
NtClose( EnumKey );
|
||||||
ExFreePool( Kbio );
|
ExFreePool( Kbio );
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue