[vlc-commits] d3d11_quad: fix typo leading to a leak
Steve Lhomme
git at videolan.org
Wed Feb 10 11:06:37 UTC 2021
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jan 27 09:20:49 2021 +0100| [23fa5d258f2b151c077d1b9daf77b57aaebb31d6] | committer: Steve Lhomme
d3d11_quad: fix typo leading to a leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=23fa5d258f2b151c077d1b9daf77b57aaebb31d6
---
modules/video_output/win32/d3d11_quad.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/d3d11_quad.c b/modules/video_output/win32/d3d11_quad.c
index 0928155fea..3b0036c05c 100644
--- a/modules/video_output/win32/d3d11_quad.c
+++ b/modules/video_output/win32/d3d11_quad.c
@@ -149,7 +149,7 @@ fail:
ID3D11Buffer_Release(quad->pVertexBuffer);
quad->pVertexBuffer = NULL;
}
- if (quad->pVertexBuffer)
+ if (quad->pIndexBuffer)
{
ID3D11Buffer_Release(quad->pIndexBuffer);
quad->pIndexBuffer = NULL;
More information about the vlc-commits
mailing list