[Libva] [PATCH] jpeg: fix memory leak of huffman tables.
Gwenole Beauchesne
gb.devel at gmail.com
Tue Feb 14 05:52:31 PST 2012
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
---
src/i965_drv_video.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index 2e7cc85..9dc66f0 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -1224,6 +1224,7 @@ i965_BeginPicture(VADriverContextP ctx,
i965_release_buffer_store(&obj_context->codec_state.decode.pic_param);
i965_release_buffer_store(&obj_context->codec_state.decode.iq_matrix);
i965_release_buffer_store(&obj_context->codec_state.decode.bit_plane);
+ i965_release_buffer_store(&obj_context->codec_state.decode.huffman_table);
for (i = 0; i < obj_context->codec_state.decode.num_slice_params; i++) {
i965_release_buffer_store(&obj_context->codec_state.decode.slice_params[i]);
--
1.7.5.4
More information about the Libva
mailing list