diff --git a/.pick_status.json b/.pick_status.json index 66cb84f1654..83b376b9bfd 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2722,7 +2722,7 @@ "description": "zink: free push descriptor pools on deinit", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/gallium/drivers/zink/zink_descriptors.c b/src/gallium/drivers/zink/zink_descriptors.c index 44abb0983cc..eb93583954c 100644 --- a/src/gallium/drivers/zink/zink_descriptors.c +++ b/src/gallium/drivers/zink/zink_descriptors.c @@ -1113,6 +1113,8 @@ zink_descriptor_pool_deinit(struct zink_context *ctx) /* do not free: programs own these pools */ _mesa_hash_table_destroy(ctx->dd->descriptor_pools[i], NULL); } + descriptor_pool_free(zink_screen(ctx->base.screen), ctx->dd->push_pool[0]); + descriptor_pool_free(zink_screen(ctx->base.screen), ctx->dd->push_pool[1]); } static bool