Fix memory leak.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24972 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
voroshil 2007-11-05 16:34:15 +00:00
parent f057394851
commit 0290988bbd
1 changed files with 1 additions and 0 deletions

View File

@ -788,6 +788,7 @@ static void demux_close_tv(demuxer_t *demuxer)
tvi_handle_t *tvh=(tvi_handle_t*)(demuxer->priv); tvi_handle_t *tvh=(tvi_handle_t*)(demuxer->priv);
if (!tvh) return; if (!tvh) return;
tv_uninit(tvh); tv_uninit(tvh);
free(tvh);
demuxer->priv=NULL; demuxer->priv=NULL;
} }