summaryrefslogtreecommitdiffstats
path: root/stream/tv.c
diff options
context:
space:
mode:
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;
}