mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests/shader_runner: Free extensions pointer on vulkan runner (valgrind).
This commit is contained in:
parent
48e61fa323
commit
8379e5337c
Notes:
Alexandre Julliard
2024-01-25 23:08:40 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/600
@ -1252,10 +1252,12 @@ static bool check_device_extensions(struct vulkan_shader_runner *runner)
|
||||
if (!has_extension(extensions, count, required_device_extensions[i]))
|
||||
{
|
||||
skip("The selected Vulkan device does not support %s.\n", required_device_extensions[i]);
|
||||
free(extensions);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
free(extensions);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user