diff --git a/.pick_status.json b/.pick_status.json index 9665bcfba8c..4e1325033e3 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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 diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index f2ca1d16c9b..f16a996febf 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -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); }