summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_vce.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2014-03-07 18:31:40 +0100
committerChristian König <[email protected]>2014-03-08 14:43:53 +0100
commita995f564c7b226438d10e5d5895692ed1fd550e3 (patch)
treebce6c0b0c9f3647d92fd2ce6a04b197061e3363b /src/gallium/drivers/radeon/radeon_vce.c
parent6e39a8f6ec41b44f41b3c4a710478a2e442efc0a (diff)
radeon/vce: fix memory leak
Signed-off-by: Christian König <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vce.c')
-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);
}