Commit f0ef8179 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

hw:d3d9:dxva2_deinterlace: fix null pointer dereference

CID #1462252
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent a1de66ec
...@@ -492,7 +492,8 @@ int D3D9OpenDeinterlace(vlc_object_t *obj) ...@@ -492,7 +492,8 @@ int D3D9OpenDeinterlace(vlc_object_t *obj)
return VLC_SUCCESS; return VLC_SUCCESS;
error: error:
CoTaskMemFree(processorGUIDs); if (processorGUIDs)
CoTaskMemFree(processorGUIDs);
if (sys && sys->processor) if (sys && sys->processor)
IDirectXVideoProcessor_Release( sys->processor ); IDirectXVideoProcessor_Release( sys->processor );
if (processor) if (processor)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment