[vlc-devel] [PATCH] hw: vaapi: fix memory leak
Thomas Guillem
thomas at gllm.fr
Fri Oct 19 08:50:51 CEST 2018
merged, thanks!
On Fri, Oct 19, 2018, at 05:55, Zhao Zhili wrote:
> ---
> modules/hw/vaapi/filters.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/modules/hw/vaapi/filters.c b/modules/hw/vaapi/filters.c
> index d3f8610..a27b102 100644
> --- a/modules/hw/vaapi/filters.c
> +++ b/modules/hw/vaapi/filters.c
> @@ -453,6 +453,8 @@ error:
> if (filter_sys->va.conf != VA_INVALID_ID)
> vlc_vaapi_DestroyConfig(VLC_OBJECT(filter),
> filter_sys->va.dpy, filter_sys->va.conf);
> + if (filter_sys->dest_pics)
> + picture_pool_Release(filter_sys->dest_pics);
> if (filter_sys->va.inst)
> vlc_vaapi_FilterReleaseInstance(filter, filter_sys->va.inst);
> free(filter_sys);
> --
> 2.9.5
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list