From a995f564c7b226438d10e5d5895692ed1fd550e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20K=C3=B6nig?= Date: Fri, 7 Mar 2014 18:31:40 +0100 Subject: [PATCH] radeon/vce: fix memory leak MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König Reviewed-by: Marek Olšák --- src/gallium/drivers/radeon/radeon_vce.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2