[vlc-devel] [PATCH] dxva2_deinterlace: fix potential double free
Steve Lhomme
robux4 at videolabs.io
Mon Jul 3 15:29:19 CEST 2017
CID # 1449136
---
modules/video_output/win32/dxva2_deinterlace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/win32/dxva2_deinterlace.c b/modules/video_output/win32/dxva2_deinterlace.c
index e17dfff964..242dd08986 100644
--- a/modules/video_output/win32/dxva2_deinterlace.c
+++ b/modules/video_output/win32/dxva2_deinterlace.c
@@ -353,6 +353,7 @@ static int Open(vlc_object_t *obj)
goto error;
CoTaskMemFree(processorGUIDs);
+ processorGUIDs = NULL;
picture_Release(dst);
IDirectXVideoProcessorService_Release(processor);
--
2.12.1
More information about the vlc-devel
mailing list