aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-04-24 23:09:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-04-24 23:09:28 +0000
commitceedda75ea8797a06111719ac8f4772a5f090781 (patch)
treedf5bf1421ed489b0d0bc967d7e0c935a4ffeda04
parent0c79b1402a48a99f32435a0f5ad2364c58c6fcf3 (diff)
downloadffmpeg-ceedda75ea8797a06111719ac8f4772a5f090781.tar.gz
minor memleak
Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/utils.c1
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);