Browse Source

In ogg muxer, free dyn allocated buffer, fix memleak

Originally committed as revision 24276 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Baptiste Coudurier 15 years ago
parent
commit
5c32755570
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/oggenc.c

+ 1
- 0
libavformat/oggenc.c View File

@@ -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…
Cancel
Save