mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
radeon/vce: fix memory leak
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
6e39a8f6ec
commit
a995f564c7
1 changed files with 1 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ static void rvce_destroy(struct pipe_video_codec *encoder)
|
|||
rvid_destroy_buffer(&fb);
|
||||
}
|
||||
rvid_destroy_buffer(&enc->cpb);
|
||||
enc->ws->cs_destroy(enc->cs);
|
||||
FREE(enc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue