changeset 24944:975308353c33

Fix memory leak.
author voroshil
date Mon, 05 Nov 2007 16:34:15 +0000
parents 1777d38d020d
children 46337ac77770
files stream/tv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tv.c	Mon Nov 05 16:33:29 2007 +0000
+++ b/stream/tv.c	Mon Nov 05 16:34:15 2007 +0000
@@ -788,6 +788,7 @@
     tvi_handle_t *tvh=(tvi_handle_t*)(demuxer->priv);
     if (!tvh) return;
     tv_uninit(tvh);
+    free(tvh);
     demuxer->priv=NULL;
 }