[vlc-commits] vdpau: fix mismatched heap free function
Rémi Denis-Courmont
git at videolan.org
Thu Sep 11 20:30:23 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 11 21:29:53 2014 +0300| [d450f9bb8abc35f5e87065c56631109ddc173c0e] | committer: Rémi Denis-Courmont
vdpau: fix mismatched heap free function
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d450f9bb8abc35f5e87065c56631109ddc173c0e
---
modules/hw/vdpau/avcodec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/hw/vdpau/avcodec.c b/modules/hw/vdpau/avcodec.c
index c87013d..7a76d38 100644
--- a/modules/hw/vdpau/avcodec.c
+++ b/modules/hw/vdpau/avcodec.c
@@ -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;
}
More information about the vlc-commits
mailing list