[vlc-commits] hw:d3d11:d3d11_filters: fix leak
Steve Lhomme
git at videolan.org
Fri Nov 24 16:28:15 CET 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Nov 24 16:24:48 2017 +0100| [299af0938ee39e2b2a97177f22ebf0032a3ece57] | committer: Jean-Baptiste Kempf
hw:d3d11:d3d11_filters: fix leak
CID #1462210
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=299af0938ee39e2b2a97177f22ebf0032a3ece57
---
modules/hw/d3d11/d3d11_filters.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/hw/d3d11/d3d11_filters.c b/modules/hw/d3d11/d3d11_filters.c
index 8b5a448ce0..615aa5763e 100644
--- a/modules/hw/d3d11/d3d11_filters.c
+++ b/modules/hw/d3d11/d3d11_filters.c
@@ -574,6 +574,7 @@ error:
ID3D11VideoDevice_Release(sys->d3dviddev);
if (sys->d3d_dev.d3dcontext)
D3D11_FilterReleaseInstance(&sys->d3d_dev);
+ free(sys);
return VLC_EGENERIC;
}
More information about the vlc-commits
mailing list