From 15bd7324c29390ce309f09ad292644f4c43f8d99 Mon Sep 17 00:00:00 2001 From: rtognimp Date: Wed, 4 Jan 2006 23:36:36 +0000 Subject: [PATCH] Don't leak memory (free audio reordering buffers) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17319 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_real.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c index 2e2b7309a7..914eda1a7d 100644 --- a/libmpdemux/demux_real.c +++ b/libmpdemux/demux_real.c @@ -1804,6 +1804,10 @@ static void demux_close_real(demuxer_t *demuxer) for(i=0; iindex_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); }