From: Christian König Date: Fri, 7 Mar 2014 17:31:40 +0000 (+0100) Subject: radeon/vce: fix memory leak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a995f564c7b226438d10e5d5895692ed1fd550e3;p=mesa.git radeon/vce: fix memory leak Signed-off-by: Christian König Reviewed-by: Marek Olšák --- 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); }