vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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;
     }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to