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,6 +492,7 @@ int D3D9OpenDeinterlace(vlc_object_t *obj)
return VLC_SUCCESS;
error:
if (processorGUIDs)
CoTaskMemFree(processorGUIDs);
if (sys && sys->processor)
IDirectXVideoProcessor_Release( sys->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