[vlc-devel] [PATCH] vcd: fix double free
Kazuki Yamaguchi
k at rhe.jp
Mon Aug 31 16:44:44 CEST 2015
---
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 a4a8bd4..b38e81c 100644
--- a/modules/access/vcd/cdrom.c
+++ b/modules/access/vcd/cdrom.c
@@ -900,6 +900,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:
--
2.5.1
More information about the vlc-devel
mailing list