setupapi/tests: Close registry key after use.
This commit is contained in:
parent
b608e39e1f
commit
ee975a5611
|
@ -226,6 +226,8 @@ static void test_SetupDiOpenClassRegKeyExA(void)
|
|||
}
|
||||
else
|
||||
trace("failed to create registry key for test\n");
|
||||
|
||||
RegCloseKey(hkey);
|
||||
}
|
||||
else
|
||||
trace("failed to open classes key\n");
|
||||
|
|
Loading…
Reference in New Issue