Commit 44a7a630 authored by Michael Niedermayer's avatar Michael Niedermayer

lavf: free probe data in case we close before probing finished

Fixes Ticket1634
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent acfe6966
......@@ -3056,6 +3056,7 @@ void ff_free_stream(AVFormatContext *s, AVStream *st){
av_freep(&st->codec);
av_freep(&st->priv_data);
av_freep(&st->info);
av_freep(&st->probe_data.buf);
av_freep(&s->streams[ --s->nb_streams ]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment