diff --git a/src/gallium/auxiliary/nir/nir_to_tgsi.c b/src/gallium/auxiliary/nir/nir_to_tgsi.c index 540e4be236b..5b3760ea059 100644 --- a/src/gallium/auxiliary/nir/nir_to_tgsi.c +++ b/src/gallium/auxiliary/nir/nir_to_tgsi.c @@ -2193,6 +2193,9 @@ ntt_emit_impl(struct ntt_compile *c, nir_function_impl *impl) ntt_setup_registers(c, &impl->registers); ntt_emit_cf_list(c, &impl->body); + + ralloc_free(c->liveness); + c->liveness = NULL; } static int