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