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

vdpau: fix mismatched heap free function

parent ecc610b0
......@@ -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