1
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:
rtognimp 2006-01-04 23:36:36 +00:00
parent 3aa98b93f7
commit 15bd7324c2

View File

@ -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);
}