[FFmpeg-cvslog] asink_nullsink: plug a memory leak.

Anton Khirnov git at videolan.org
Wed Nov 28 13:38:35 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Nov 27 11:35:55 2012 +0100| [af7d13ee4a4bf8d708f9b0598abb8f6e22b76de1] | committer: Anton Khirnov

asink_nullsink: plug a memory leak.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af7d13ee4a4bf8d708f9b0598abb8f6e22b76de1
---

 libavfilter/asink_anullsink.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/asink_anullsink.c b/libavfilter/asink_anullsink.c
index b679ffa..397e745 100644
--- a/libavfilter/asink_anullsink.c
+++ b/libavfilter/asink_anullsink.c
@@ -22,6 +22,7 @@
 
 static int null_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref)
 {
+    avfilter_unref_bufferp(&samplesref);
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list