mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 18:30:42 +02:00
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:
parent
d21c8e1bed
commit
44e6f0abaa
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue