r300: fix memory leak in contant remaping
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Reviewed-by: Filip Gawin <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33066>
This commit is contained in:
committed by
Marge Bot
parent
f00f08c02d
commit
220590f41a
@@ -275,6 +275,7 @@ rc_remove_unused_constants(struct radeon_compiler *c, void *user)
|
||||
}
|
||||
|
||||
free(s->inv_remap_table);
|
||||
free(s->is_used_as_vector);
|
||||
|
||||
if (c->Debug & RC_DBG_LOG)
|
||||
rc_constants_print(&c->Program.Constants, s->remap_table);
|
||||
|
||||
Reference in New Issue
Block a user