Commit ba3e0742 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

ntdll/tests: Fix some string leaks (Valgrind).

parent 5e677bee
......@@ -3662,6 +3662,8 @@ static void test_file_mode(void)
if (option_tests[i].file_name == &file_name)
DeleteFileW(dos_file_name);
}
pRtlFreeUnicodeString(&file_name);
}
static void test_query_volume_information_file(void)
......
......@@ -2008,6 +2008,8 @@ static void test_RtlCreateRegistryKey(void)
status = pRtlCreateRegistryKey((RTL_REGISTRY_USER+1) | RTL_REGISTRY_OPTIONAL, NULL);
ok(status == STATUS_INVALID_PARAMETER, "RtlCreateRegistryKey unexpected return value: %08x, expected %08x\n", status, STATUS_INVALID_PARAMETER);
pRtlFreeUnicodeString(&str);
}
START_TEST(reg)
......
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