zink: free all ntv allocations after creating shader module
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 3 Jun 2020 15:41:43 +0000 (11:41 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 18 Jul 2020 07:51:37 +0000 (07:51 +0000)
commit2b343238a1fc2954d10770082ff873a28efafee2
tree1514308c8a3b2ed1647aa9cf7da7517b7666e995
parentadc4f3896ae3cfd9ef8394d11204dfd9d321cf82
zink: free all ntv allocations after creating shader module

these are all fairly large sources of leaks

Reviewed-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5887>
src/gallium/drivers/zink/zink_compiler.c