[vlc-commits] mp4: Fix potential double free

Hugo Beauzée-Luyssen git at videolan.org
Fri Jan 19 12:01:23 CET 2018


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Jan 18 13:28:50 2018 +0100| [aa015c793a6d52bd7ce088b5b415adbb4533d0bb] | committer: Jean-Baptiste Kempf

mp4: Fix potential double free

(cherry picked from commit 3a321559d1883e869a8699d578f28a35115d4185)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/mp4/libmp4.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 091bf5f2df..9f5fc5d910 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -1932,7 +1932,6 @@ static int MP4_ReadBox_avcC( stream_t *p_stream, MP4_Box_t *p_box )
     MP4_READBOX_EXIT( 1 );
 
 error:
-    MP4_FreeBox_avcC( p_box );
     MP4_READBOX_EXIT( 0 );
 }
 



More information about the vlc-commits mailing list