vlc/vlc-2.2 | branch: master | Kazuki Yamaguchi <[email protected]> | Mon Aug 31 23:44:44 2015 +0900| [50603d508b59a251e76b9ebdc2086a3b7d0e8ae7] | committer: Jean-Baptiste Kempf
vcd: fix double free Signed-off-by: Rémi Denis-Courmont <[email protected]> (cherry picked from commit 5bf000648fb414c6c4ad98d6a69cf8a8b25a2ec5) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=50603d508b59a251e76b9ebdc2086a3b7d0e8ae7 --- modules/access/vcd/cdrom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c index efa3cd2..58dbcaa 100644 --- a/modules/access/vcd/cdrom.c +++ b/modules/access/vcd/cdrom.c @@ -903,6 +903,7 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev, (int)i_tracks, (int)p_sectors[i_tracks] ); p_vcddev->i_tracks = ++i_tracks; p_vcddev->p_sectors = p_sectors; + p_sectors = NULL; i_ret = 0; error: _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
