From 0039652a08fcccc59b008d3290a2aae764204a8b Mon Sep 17 00:00:00 2001 From: eugeni Date: Mon, 7 Jan 2008 14:13:50 +0000 Subject: [PATCH] Deallocate audio track codecdata. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25642 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demuxer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c index 03bb402830..19522a8329 100644 --- a/libmpdemux/demuxer.c +++ b/libmpdemux/demuxer.c @@ -271,6 +271,7 @@ void free_sh_audio(demuxer_t *demuxer, int id) { demuxer->a_streams[id] = NULL; mp_msg(MSGT_DEMUXER,MSGL_DBG2,"DEMUXER: freeing sh_audio at %p\n",sh); if(sh->wf) free(sh->wf); + if(sh->codecdata) free(sh->codecdata); free(sh); }