1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

minor memleak

Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-04-24 23:09:28 +00:00
parent 0c79b1402a
commit ceedda75ea

View File

@ -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);