diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 850ec612ce0..08f15b5d3d7 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -3285,7 +3285,7 @@ VkResult anv_CreateDevice( if (pthread_mutex_init(&device->mutex, NULL) != 0) { result = vk_error(device, VK_ERROR_INITIALIZATION_FAILED); - goto fail_queues; + goto fail_vmas; } pthread_condattr_t condattr;