[vlc-commits] vdpau: fix double free on error
Rémi Denis-Courmont
git at videolan.org
Tue Nov 22 18:09:53 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 22 19:09:36 2016 +0200| [813fb259943f2baace107414f0c41cc1d8c193e8] | committer: Rémi Denis-Courmont
vdpau: fix double free on error
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=813fb259943f2baace107414f0c41cc1d8c193e8
---
modules/hw/vdpau/picture.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/hw/vdpau/picture.c b/modules/hw/vdpau/picture.c
index b881140..05e7116 100644
--- a/modules/hw/vdpau/picture.c
+++ b/modules/hw/vdpau/picture.c
@@ -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;
}
More information about the vlc-commits
mailing list