[Mesa-dev] [PATCH 1/3] radeon/vce: fix memory leak
Christian König
deathsimple at vodafone.de
Sat Mar 8 04:21:30 PST 2014
From: Christian König <christian.koenig at amd.com>
Signed-off-by: Christian König <christian.koenig at amd.com>
---
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 665c1dc..0d3fe08 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);
}
--
1.8.3.2
More information about the mesa-dev
mailing list