setupapi/tests: Close registry key after use.

This commit is contained in:
Paul Vriens 2008-05-26 10:47:08 +02:00 committed by Alexandre Julliard
parent b608e39e1f
commit ee975a5611
1 changed files with 2 additions and 0 deletions

View File

@ -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");