advapi32: Make sure it's a real cleanup.

This commit is contained in:
Paul Vriens 2006-10-02 16:07:39 +02:00 committed by Alexandre Julliard
parent c53d611e08
commit 1a2aa7ca3d
1 changed files with 2 additions and 2 deletions

View File

@ -585,8 +585,8 @@ static void test_reg_create_key(void)
ok(!ret, "RegCreateKeyExA failed with error %ld\n", ret);
/* clean up */
RegDeleteKey(hkey2, NULL);
RegDeleteKey(hkey1, NULL);
RegDeleteKey(hkey2, "");
RegDeleteKey(hkey1, "");
/* beginning backslash character */
ret = RegCreateKeyExA(hkey_main, "\\Subkey3", 0, NULL, 0, KEY_NOTIFY, NULL, &hkey1, NULL);