mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
In ogg muxer, free dyn allocated buffer, fix memleak
Originally committed as revision 24276 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
819b2dd2b1
commit
5c32755570
@ -105,6 +105,7 @@ static int ogg_write_page(AVFormatContext *s, OGGPage *page, int extra_flags)
|
||||
|
||||
put_buffer(s->pb, buf, size);
|
||||
put_flush_packet(s->pb);
|
||||
av_free(buf);
|
||||
oggstream->page_count--;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user