mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
agx: Plug memory leak in register allocator
Fixes: 85e18deb18 ("agx: Assign registers locally")
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reported-by: Coverity
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12053>
This commit is contained in:
parent
7848100f27
commit
465224379c
1 changed files with 1 additions and 0 deletions
|
|
@ -236,6 +236,7 @@ agx_ra(agx_context *ctx)
|
|||
}
|
||||
}
|
||||
|
||||
free(ssa_to_reg);
|
||||
free(ncomps);
|
||||
free(alloc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue