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
|
else
|
||||||
trace("failed to create registry key for test\n");
|
trace("failed to create registry key for test\n");
|
||||||
|
|
||||||
|
RegCloseKey(hkey);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
trace("failed to open classes key\n");
|
trace("failed to open classes key\n");
|
||||||
|
|
Loading…
Reference in New Issue