[Libva] [PATCH] Fix memory leaks in libva

Xiang, Haihao haihao.xiang at intel.com
Sun Jun 12 23:01:26 PDT 2011


On Sat, 2011-06-11 at 14:54 +0800, gimli wrote:
> This patch fixes the following memory leaks in libva :
> 
> 1.) The dri drawables are allocated but not freed
> 2.) The drm buffer manager is allocated but not freed
> 3.) The device name is allocated but not freed
> 
> Signed-off-by: Edgar Hucek <gimli at dark-green.com>

Thank you very much for helping us catch this issue. I split this patch
to 2 parts: one for i965 driver, another for libva. In the second patch,
call dri_state->close(ctx) directly to free dri related resources,
including dri drawables.

Thanks
Haihao





More information about the Libva mailing list