7815f3cd3e
Since now all the data referenced by it is allocated with the cache's mem_ctx, it is sufficient to just free it, and then reset the cache state to be ready for a next initialization if it happens. Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25006>