mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 05:48:07 +02:00
radeon/llvm: reset temps_count on deallocation
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
7afc992c20
commit
7116250b7a
1 changed files with 1 additions and 0 deletions
|
|
@ -1631,6 +1631,7 @@ void radeon_llvm_dispose(struct radeon_llvm_context * ctx)
|
|||
ctx->arrays = NULL;
|
||||
FREE(ctx->temps);
|
||||
ctx->temps = NULL;
|
||||
ctx->temps_count = 0;
|
||||
FREE(ctx->loop);
|
||||
ctx->loop = NULL;
|
||||
ctx->loop_depth_max = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue