advapi32/tests: Fix bad cleanup in test_reg_create_key.

oldstable
Jonathan Vollebregt 2014-11-06 19:03:54 +01:00 committed by Alexandre Julliard
parent 2e78a2c921
commit 495b97f05b
1 changed files with 1 additions and 1 deletions

View File

@ -1219,7 +1219,7 @@ static void test_reg_create_key(void)
ok(ret == ERROR_BAD_PATHNAME, "expected ERROR_BAD_PATHNAME, got %d\n", ret);
else {
ok(!ret, "RegCreateKeyExA failed with error %d\n", ret);
RegDeleteKeyA(hkey1, NULL);
RegDeleteKeyA(hkey1, "");
RegCloseKey(hkey1);
}