changeset 6264:f4f55ad4a603 libavformat

In ogg muxer, free dyn allocated buffer, fix memleak
author bcoudurier
date Fri, 16 Jul 2010 22:36:01 +0000
parents 89adb1f9ff50
children 6eead40d46a7
files oggenc.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/oggenc.c	Fri Jul 16 14:15:37 2010 +0000
+++ b/oggenc.c	Fri Jul 16 22:36:01 2010 +0000
@@ -105,6 +105,7 @@
 
     put_buffer(s->pb, buf, size);
     put_flush_packet(s->pb);
+    av_free(buf);
     oggstream->page_count--;
     return 0;
 }