From d6a9de9e2aedc8b66ab3219902b5a37e8d65ada2 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 11 Nov 2011 10:06:25 -0300 Subject: [PATCH] pulseaudiosink: fix caps leak --- ext/pulse/pulseaudiosink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/pulse/pulseaudiosink.c b/ext/pulse/pulseaudiosink.c index a770135..a16a6ad 100644 --- a/ext/pulse/pulseaudiosink.c +++ b/ext/pulse/pulseaudiosink.c @@ -872,6 +872,7 @@ gst_pulse_audio_sink_sink_setcaps (GstPad * pad, GstCaps * caps) GST_PULSE_AUDIO_SINK_UNLOCK (pbin); + gst_caps_unref (caps); gst_object_unref (pbin); return ret; -- 2.7.4