lavapipe: amend missing object finish on mem alloc failure

Missed since it was still vallium.

Cc: mesa-stable
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36252>
This commit is contained in:
Yiwei Zhang 2025-07-20 22:19:08 -07:00 committed by Marge Bot
parent d21c8e1bed
commit 44e6f0abaa

View file

@ -2118,6 +2118,7 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_AllocateMemory(
return VK_SUCCESS;
fail:
vk_object_base_finish(&mem->base);
vk_free2(&device->vk.alloc, pAllocator, mem);
return vk_error(device, error);
}