[FFmpeg-cvslog] r24276 - trunk/libavformat/oggenc.c

bcoudurier subversion
Sat Jul 17 00:36:01 CEST 2010


Author: bcoudurier
Date: Sat Jul 17 00:36:01 2010
New Revision: 24276

Log:
In ogg muxer, free dyn allocated buffer, fix memleak

Modified:
   trunk/libavformat/oggenc.c

Modified: trunk/libavformat/oggenc.c
==============================================================================
--- trunk/libavformat/oggenc.c	Fri Jul 16 23:35:30 2010	(r24275)
+++ trunk/libavformat/oggenc.c	Sat Jul 17 00:36:01 2010	(r24276)
@@ -105,6 +105,7 @@ static int ogg_write_page(AVFormatContex
 
     put_buffer(s->pb, buf, size);
     put_flush_packet(s->pb);
+    av_free(buf);
     oggstream->page_count--;
     return 0;
 }



More information about the ffmpeg-cvslog mailing list