vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue Jan 9 16:00:59 2018 +0100| [fc1d1a2e36f41177a4f99f4fe7f0d3f3e3829d15] | committer: Jean-Baptiste Kempf
d3d11_deinterlace: Fix potential leak Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fc1d1a2e36f41177a4f99f4fe7f0d3f3e3829d15 --- modules/hw/d3d11/d3d11_deinterlace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hw/d3d11/d3d11_deinterlace.c b/modules/hw/d3d11/d3d11_deinterlace.c index a8ababba61..b52f76072c 100644 --- a/modules/hw/d3d11/d3d11_deinterlace.c +++ b/modules/hw/d3d11/d3d11_deinterlace.c @@ -546,6 +546,8 @@ int D3D11OpenDeinterlace(vlc_object_t *obj) return VLC_SUCCESS; error: + if (sys->processorOutput) + ID3D11VideoProcessorOutputView_Release(sys->processorOutput); if (sys->outTexture) ID3D11Texture2D_Release(sys->outTexture); if (sys->videoProcessor) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
