aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/radeon_vce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c
index 665c1dce57d..0d3fe080867 100644
--- a/src/gallium/drivers/radeon/radeon_vce.c
+++ b/src/gallium/drivers/radeon/radeon_vce.c
@@ -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);
}