Commit e10833db authored by Gildas Bazin's avatar Gildas Bazin

* modules/demux/mp4/mp4.c: fixed memory leak.

parent 2669a94f
......@@ -1652,7 +1652,7 @@ static void MP4_TrackDestroy( demux_t *p_demux,
p_track->b_enable = VLC_FALSE;
p_track->b_selected = VLC_FALSE;
es_format_Init( &p_track->fmt, UNKNOWN_ES, 0 );
es_format_Clean( &p_track->fmt );
for( i_chunk = 0; i_chunk < p_track->i_chunk_count; i_chunk++ )
{
......
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