Commit ee975a56 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

setupapi/tests: Close registry key after use.

parent b608e39e
...@@ -226,6 +226,8 @@ static void test_SetupDiOpenClassRegKeyExA(void) ...@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment