mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Fix packet_buffer memory leak in avformat_free_context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3eba0a9190
commit
609d5db803
@ -3525,6 +3525,7 @@ void avformat_free_context(AVFormatContext *s)
|
||||
av_dict_free(&s->metadata);
|
||||
av_freep(&s->streams);
|
||||
av_freep(&s->internal);
|
||||
free_packet_buffer(&s->packet_buffer, &s->packet_buffer_end);
|
||||
av_free(s);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user