Re: [Mesa-dev] [PATCH] st/mesa: fix reference counting bug in st_vdpau

2016-07-13 Thread Leo Liu
I have tested the leak is fixed by this patch. And have a look again, the leak actually happens in the case of st_vdpau_output_surface_dma_buf. Sorry for the noise. The patch is Tested-and-Reviewed by: Leo Liu Regards, Leo On 07/13/2016 10:08 AM, Leo Liu wrote: On 07/13/2016 08:56 AM, C

Re: [Mesa-dev] [PATCH] st/mesa: fix reference counting bug in st_vdpau

2016-07-13 Thread Leo Liu
On 07/13/2016 08:56 AM, Christian König wrote: From: Christian König Otherwise we leak the resources created for the DMA-buf descriptors. Signed-off-by: Christian König Cc: 12.0 --- src/mesa/state_tracker/st_vdpau.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff

[Mesa-dev] [PATCH] st/mesa: fix reference counting bug in st_vdpau

2016-07-13 Thread Christian König
From: Christian König Otherwise we leak the resources created for the DMA-buf descriptors. Signed-off-by: Christian König Cc: 12.0 --- src/mesa/state_tracker/st_vdpau.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_vdpau.c b/src/mesa