Commit 495b97f0 authored by Jonathan Vollebregt's avatar Jonathan Vollebregt Committed by Alexandre Julliard

advapi32/tests: Fix bad cleanup in test_reg_create_key.

parent 2e78a2c9
......@@ -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);
}
......
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