From ceedda75ea8797a06111719ac8f4772a5f090781 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 24 Apr 2008 23:09:28 +0000 Subject: [PATCH] minor memleak Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index c4f67c9ca..530a9bb16 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2145,6 +2145,7 @@ void av_close_input_stream(AVFormatContext *s) 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); -- 2.11.0