[vlc-devel] [PATCH 6/6] hw:d3d11:d3d11_filters: fix leak
Steve Lhomme
robux4 at videolabs.io
Fri Nov 24 16:24:48 CET 2017
CID #1462210
---
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;
}
--
2.14.2
More information about the vlc-devel
mailing list