nak/cmat: free the type mapping hash table.

Just noticed this on review.

Cc: mesa-stable
Reviewed-by: Karol Herbst <kherbst@redhat.com>
(cherry picked from commit 96662cd459)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39003>
This commit is contained in:
Dave Airlie 2025-12-08 07:51:49 +10:00 committed by Dylan Baker
parent af123810f7
commit b2e6480488
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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;
}