mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 21:10:24 +01:00
radeonsi: fix a memory leak in si_create_dcc_retile_cs
Fixes:1f21396431- radeonsi: add support for displayable DCC for multi-RB chips Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7721> (cherry picked from commite64d5cc4d6)
This commit is contained in:
parent
4e39cdaa50
commit
b7659c5ed7
2 changed files with 2 additions and 1 deletions
|
|
@ -814,7 +814,7 @@
|
|||
"description": "radeonsi: fix a memory leak in si_create_dcc_retile_cs",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "1f21396431a03dc4e5a542628d7d8370973c967f"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -278,6 +278,7 @@ void *si_create_dcc_retile_cs(struct pipe_context *ctx)
|
|||
|
||||
void *cs = ctx->create_compute_state(ctx, &state);
|
||||
ureg_destroy(ureg);
|
||||
ureg_free_tokens(state.prog);
|
||||
return cs;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue