Commit 5bf00064 authored by Kazuki Yamaguchi's avatar Kazuki Yamaguchi Committed by Rémi Denis-Courmont

vcd: fix double free

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 7d54a3ab
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment