diff --git a/.pick_status.json b/.pick_status.json index 2eae331897a..e91b58f67f7 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -418,7 +418,7 @@ "description": "anv: fix a leak of fp64_nir shader", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "8c4c4c3ee1a24b73fa29f30a05e873e9e13dddc7" }, diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index e512394c7a3..b317b78dbbd 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -3552,6 +3552,8 @@ void anv_DestroyDevice( anv_queue_finish(&device->queues[i]); vk_free(&device->vk.alloc, device->queues); + ralloc_free(device->fp64_nir); + anv_device_destroy_context_or_vm(device); if (INTEL_DEBUG(DEBUG_BATCH)) {