Commit 813fb259 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

vdpau: fix double free on error

parent 9dc69483
......@@ -72,7 +72,6 @@ vlc_vdp_video_field_t *vlc_vdp_video_create(vdp_t *vdp,
{
free(frame);
free(field);
vdp_video_surface_destroy(vdp, surface);
return NULL;
}
......
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