mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 00:06:25 +01:00
Don't leak memory (free audio reordering buffers)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17319 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3aa98b93f7
commit
15bd7324c2
@ -1804,6 +1804,10 @@ static void demux_close_real(demuxer_t *demuxer)
|
||||
for(i=0; i<MAX_STREAMS; i++)
|
||||
if(priv->index_table[i])
|
||||
free(priv->index_table[i]);
|
||||
if (priv->audio_buf)
|
||||
free(priv->audio_buf);
|
||||
if (priv->audio_timestamp)
|
||||
free(priv->audio_timestamp);
|
||||
free(priv);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user