(Vulkan) Fix potential memory leak

This commit is contained in:
twinaphex 2019-05-26 08:18:42 +02:00
parent 086b3ccfb7
commit 17b2019e11

View File

@ -1618,6 +1618,7 @@ static bool vulkan_context_init_gpu(gfx_ctx_vulkan_data_t *vk)
&gpu_count, gpus) != VK_SUCCESS)
{
RARCH_ERR("[Vulkan]: Failed to enumerate physical devices.\n");
free(gpus);
return false;
}