Mercurial > mplayer.hg
changeset 17318:184a3683834a
Don't leak memory (free audio reordering buffers)
author | rtognimp |
---|---|
date | Wed, 04 Jan 2006 23:36:36 +0000 |
parents | 69fe94dded9a |
children | 19a903d54464 |
files | libmpdemux/demux_real.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_real.c Wed Jan 04 22:49:23 2006 +0000 +++ b/libmpdemux/demux_real.c Wed Jan 04 23:36:36 2006 +0000 @@ -1804,6 +1804,10 @@ 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); }