r600/sfn: fix container allocators
authorGert Wollny <gert.wollny@collabora.com>
Tue, 4 Apr 2023 13:58:27 +0000 (15:58 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Apr 2023 07:50:34 +0000 (07:50 +0000)
commit0cb6437f4f56bb995321aa91b7fe197dd5bce746
tree7dfc7b74c6935a28cf7580fd7b04cc7d3da12dda
parent9085c9d43e37c643ee9c9fb01b6184fa7c60bffd
r600/sfn: fix container allocators

This fixes leaks in TexInstr and in Shader.

Thanks to Patrick Lerda for pointing out the bug.

Fixes: 79ca456b4837b3bc21cf9ef3c03c505c4b4909f6
    r600/sfn: rewrite NIR backend

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22300>
src/gallium/drivers/r600/sfn/sfn_instr_tex.h
src/gallium/drivers/r600/sfn/sfn_shader.h