mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 06:30:11 +01: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
6f7c725241
commit
c76107ab89
2 changed files with 2 additions and 1 deletions
|
|
@ -1234,7 +1234,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
|
||||
|
|
|
|||
|
|
@ -2101,6 +2101,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