Commit 54bcff15 authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

advapi32/tests: Free subkey.

parent 8e29f491
......@@ -3567,6 +3567,7 @@ static void test_RegNotifyChangeKeyValue(void)
ok(dwret == WAIT_OBJECT_0, "expected WAIT_OBJECT_0, got %u\n", dwret);
RegDeleteKeyA(key, "SubKey");
RegCloseKey(subkey);
RegCloseKey(key);
/* test different thread without REG_NOTIFY_THREAD_AGNOSTIC */
......@@ -3608,6 +3609,7 @@ static void test_RegNotifyChangeKeyValue(void)
RegDeleteKeyA(key, "SubKey");
RegDeleteKeyA(key, "");
RegCloseKey(subkey);
RegCloseKey(key);
CloseHandle(event);
}
......
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