[vlc-devel] [PATCH 3/6] hw:d3d11:d3d11_surface: release the local d3d_dev on error
Steve Lhomme
robux4 at videolabs.io
Fri Nov 24 16:24:45 CET 2017
CID #1462215
---
modules/hw/d3d11/d3d11_surface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/hw/d3d11/d3d11_surface.c b/modules/hw/d3d11/d3d11_surface.c
index 73a5d7c786..502ff8ecf7 100644
--- a/modules/hw/d3d11/d3d11_surface.c
+++ b/modules/hw/d3d11/d3d11_surface.c
@@ -786,7 +786,7 @@ done:
DeleteFilter( p_cpu_filter );
if (texture)
ID3D11Texture2D_Release(texture);
- D3D11_FilterReleaseInstance(&p_sys->d3d_dev);
+ D3D11_FilterReleaseInstance(&d3d_dev);
free(p_sys);
}
else
--
2.14.2
More information about the vlc-devel
mailing list