diff --git a/.pick_status.json b/.pick_status.json index 7367bf7d179..f80e0abc536 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -124,7 +124,7 @@ "description": "panvk: Free the decode context in the create_device() error path", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "d155d6b7a334f07ad652e5a87f16f3302c7b968b", "notes": null diff --git a/src/panfrost/vulkan/panvk_vX_device.c b/src/panfrost/vulkan/panvk_vX_device.c index 2706b42bc28..6d46b6c838a 100644 --- a/src/panfrost/vulkan/panvk_vX_device.c +++ b/src/panfrost/vulkan/panvk_vX_device.c @@ -596,6 +596,9 @@ err_free_priv_bos: simple_mtx_destroy(&device->as.lock); err_destroy_kdev: + if (device->debug.decode_ctx) + pandecode_destroy_context(device->debug.decode_ctx); + pan_kmod_dev_destroy(device->kmod.dev); err_finish_dev: