Commit 180ba5de authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vdpau: fix mismatched heap free function

(cherry picked from commit d450f9bb8abc35f5e87065c56631109ddc173c0e)
parent 642b319a
......@@ -221,7 +221,7 @@ static int Open(vlc_va_t *va, AVCodecContext *ctx, const es_format_t *fmt)
err = vdp_get_x11(NULL, -1, &sys->vdp, &sys->device);
if (err != VDP_STATUS_OK)
{
free(sys->context);
av_free(sys->context);
free(sys);
return VLC_EGENERIC;
}
......
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