kernel32/tests: Fix a memory leak (Valgrind).

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2019-01-20 22:02:14 +01:00 committed by Alexandre Julliard
parent 305234e5cd
commit b012281cc9
1 changed files with 2 additions and 0 deletions

View File

@ -579,6 +579,8 @@ static void test_profile_directory_readonly(void)
ret = RemoveDirectoryA(path_folder);
ok(ret == TRUE, "RemoveDirectoryA failed: %d\n", GetLastError());
LocalFree(attributes.lpSecurityDescriptor);
}
static void test_GetPrivateProfileString(const char *content, const char *descript)