[FFmpeg-cvslog] r12945 - trunk/libavformat/utils.c

michael subversion
Fri Apr 25 01:09:28 CEST 2008


Author: michael
Date: Fri Apr 25 01:09:28 2008
New Revision: 12945

Log:
minor memleak


Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Fri Apr 25 01:09:28 2008
@@ -2145,6 +2145,7 @@ void av_close_input_stream(AVFormatConte
         av_freep(&s->programs[i]->stream_index);
         av_freep(&s->programs[i]);
     }
+    av_freep(&s->programs);
     flush_packet_queue(s);
     av_freep(&s->priv_data);
     av_free(s);




More information about the ffmpeg-cvslog mailing list