[vlc-commits] picture: fix double free

Rémi Denis-Courmont git at videolan.org
Fri Dec 14 21:49:00 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Dec 14 22:48:51 2018 +0200| [1a4d78f0b1a27adea5764c5887ea046ea9f526aa] | committer: Rémi Denis-Courmont

picture: fix double free

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a4d78f0b1a27adea5764c5887ea046ea9f526aa
---

 src/misc/picture.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/misc/picture.c b/src/misc/picture.c
index bcab74622d..569ff474e0 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -403,7 +403,6 @@ static void picture_DestroyClone(picture_t *clone)
 {
     picture_t *picture = ((picture_priv_t *)clone)->gc.opaque;
 
-    free(clone);
     picture_Release(picture);
 }
 



More information about the vlc-commits mailing list