mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 12:08:06 +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>
(cherry picked from commit 44e6f0abaa)
This commit is contained in:
parent
b5cfca7348
commit
12cdd776ab
2 changed files with 2 additions and 1 deletions
|
|
@ -4384,7 +4384,7 @@
|
|||
"description": "lavapipe: amend missing object finish on mem alloc failure",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2060,6 +2060,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