aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-11-27 11:35:55 +0100
committerAnton Khirnov <anton@khirnov.net>2012-11-28 08:43:54 +0100
commitaf7d13ee4a4bf8d708f9b0598abb8f6e22b76de1 (patch)
treec8e2a98408c34c46f31b4a0580f2f8fac1bf18a5 /libavfilter
parent2e89aeed654364333290faea26feb8b69e086f2e (diff)
downloadffmpeg-af7d13ee4a4bf8d708f9b0598abb8f6e22b76de1.tar.gz
asink_nullsink: plug a memory leak.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/asink_anullsink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/asink_anullsink.c b/libavfilter/asink_anullsink.c
index b679ffa010..397e745505 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;
}