diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-07-16 22:36:01 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-07-16 22:36:01 +0000 |
commit | 5c32755570a155779cbad79cc7de50d9eca5d4c7 (patch) | |
tree | 568b6fc781467d919f2cda557c01d1408bdaa0b1 | |
parent | 819b2dd2b145a79588463586b5adc2587cc94f34 (diff) | |
download | ffmpeg-5c32755570a155779cbad79cc7de50d9eca5d4c7.tar.gz |
In ogg muxer, free dyn allocated buffer, fix memleak
Originally committed as revision 24276 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/oggenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index 01e4c01c2c..c787f68231 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -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; } |