mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 13:00:22 +01: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> (cherry picked from commit465224379c) Conflicts: src/asahi/compiler/agx_register_allocate.c
This commit is contained in:
parent
053b80c70f
commit
cb9df156a6
2 changed files with 2 additions and 1 deletions
|
|
@ -238,7 +238,7 @@
|
|||
"description": "agx: Plug memory leak in register allocator",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "85e18deb18a195cea78da8746fe9a2ef8e74e049"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -228,5 +228,6 @@ agx_ra(agx_context *ctx)
|
|||
}
|
||||
}
|
||||
|
||||
free(ssa_to_reg);
|
||||
free(alloc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue