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:
parent
305234e5cd
commit
b012281cc9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue