[MPlayer-cvslog] r24972 - trunk/stream/tv.c

voroshil subversion at mplayerhq.hu
Mon Nov 5 17:34:15 CET 2007


Author: voroshil
Date: Mon Nov  5 17:34:15 2007
New Revision: 24972

Log:
Fix memory leak.



Modified:
   trunk/stream/tv.c

Modified: trunk/stream/tv.c
==============================================================================
--- trunk/stream/tv.c	(original)
+++ trunk/stream/tv.c	Mon Nov  5 17:34:15 2007
@@ -788,6 +788,7 @@ static void demux_close_tv(demuxer_t *de
     tvi_handle_t *tvh=(tvi_handle_t*)(demuxer->priv);
     if (!tvh) return;
     tv_uninit(tvh);
+    free(tvh);
     demuxer->priv=NULL;
 }
 



More information about the MPlayer-cvslog mailing list