asahi: plug pre-gs leak

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
Alyssa Rosenzweig 2024-01-13 16:49:33 -04:00 committed by Marge Bot
parent 7b44d15e5f
commit ffac4e7179

View file

@ -2078,6 +2078,7 @@ agx_compile_variant(struct agx_device *dev, struct pipe_context *pctx,
compiled->gs_count_words = gs_out_count_words;
ralloc_free(nir);
ralloc_free(pre_gs);
ralloc_free(gs_count);
return compiled;
}