From b2e648048864e28f635c2eed1f9ee45c4826bdfc Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 8 Dec 2025 07:51:49 +1000 Subject: [PATCH] nak/cmat: free the type mapping hash table. Just noticed this on review. Cc: mesa-stable Reviewed-by: Karol Herbst (cherry picked from commit 96662cd459e573690bc8bec1543958d15b8991ec) Part-of: --- .pick_status.json | 2 +- src/nouveau/compiler/nak_nir_lower_cmat.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index e2bd423ba02..812e9c7ef19 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -54,7 +54,7 @@ "description": "nak/cmat: free the type mapping hash table.", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/nouveau/compiler/nak_nir_lower_cmat.c b/src/nouveau/compiler/nak_nir_lower_cmat.c index 1e4c1e267bf..7ed038e7fcc 100644 --- a/src/nouveau/compiler/nak_nir_lower_cmat.c +++ b/src/nouveau/compiler/nak_nir_lower_cmat.c @@ -962,5 +962,6 @@ nak_nir_lower_cmat(nir_shader *nir, const struct nak_compiler *nak) progress = true; } + _mesa_hash_table_destroy(type_mapping, NULL); return progress; }