Skip to content

Commit

Permalink
lavf: free probe data in case we close before probing finished
Browse files Browse the repository at this point in the history
Fixes Ticket1634

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Sep 29, 2012
1 parent acfe696 commit 44a7a63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavformat/utils.c
Expand Up @@ -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 ]);
}

Expand Down

0 comments on commit 44a7a63

Please sign in to comment.