diff --git a/.pick_status.json b/.pick_status.json index 7c4a3b1b078..14da07a1406 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -11200,7 +11200,7 @@ "description": "tu: fix invalid free on alloc failure", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/freedreno/vulkan/tu_cs.c b/src/freedreno/vulkan/tu_cs.c index 0d83e5a186b..28fc0f4e069 100644 --- a/src/freedreno/vulkan/tu_cs.c +++ b/src/freedreno/vulkan/tu_cs.c @@ -130,7 +130,6 @@ tu_cs_add_bo(struct tu_cs *cs, uint32_t size) tu_bo_init_new(cs->device, &new_bo, size * sizeof(uint32_t), TU_BO_ALLOC_GPU_READ_ONLY | TU_BO_ALLOC_ALLOW_DUMP); if (result != VK_SUCCESS) { - free(new_bo); return result; }