asink_nullsink: plug a memory leak.
authorAnton Khirnov <anton@khirnov.net>
Tue, 27 Nov 2012 10:35:55 +0000 (11:35 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 28 Nov 2012 07:43:54 +0000 (08:43 +0100)
libavfilter/asink_anullsink.c

index b679ffa..397e745 100644 (file)
@@ -22,6 +22,7 @@
 
 static int null_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref)
 {
+    avfilter_unref_bufferp(&samplesref);
     return 0;
 }