diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-04-24 23:09:28 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-04-24 23:09:28 +0000 |
commit | ceedda75ea8797a06111719ac8f4772a5f090781 (patch) | |
tree | df5bf1421ed489b0d0bc967d7e0c935a4ffeda04 | |
parent | 0c79b1402a48a99f32435a0f5ad2364c58c6fcf3 (diff) | |
download | ffmpeg-ceedda75ea8797a06111719ac8f4772a5f090781.tar.gz |
minor memleak
Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index c4f67c9cab..530a9bb16a 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); |