summaryrefslogtreecommitdiffstats
path: root/stream/tv.c
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-05 16:34:15 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-05 16:34:15 +0000
commit0290988bbda3fa39aa5aadd8c92c32cfb43e5e63 (patch)
treef76f64e96fc7974c8a809e577a2389dae65c6cd5 /stream/tv.c
parentf05739485150466c58cacf0491a56eeda2906ea5 (diff)
downloadmpv-0290988bbda3fa39aa5aadd8c92c32cfb43e5e63.tar.bz2
mpv-0290988bbda3fa39aa5aadd8c92c32cfb43e5e63.tar.xz
Fix memory leak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24972 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tv.c')
-rw-r--r--stream/tv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/tv.c b/stream/tv.c
index c58f415161..4da2de3a2d 100644
--- a/stream/tv.c
+++ b/stream/tv.c
@@ -788,6 +788,7 @@ static void demux_close_tv(demuxer_t *demuxer)
tvi_handle_t *tvh=(tvi_handle_t*)(demuxer->priv);
if (!tvh) return;
tv_uninit(tvh);
+ free(tvh);
demuxer->priv=NULL;
}