mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
- Close the handle on failure
svn path=/branches/aicom-network-fixes/; revision=35116
This commit is contained in:
parent
69ef129571
commit
1fccbafaed
1 changed files with 1 additions and 0 deletions
|
@ -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