From 1e6bd5ad57adfe300476990aba570dc674c9b5e3 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 29 Nov 2011 17:34:10 -0300 Subject: [PATCH] Revert "pulseaudiosink: fix caps leak" This reverts commit d6a9de9e2aedc8b66ab3219902b5a37e8d65ada2. setcaps functions aren't supposed to take ownership of the caps passed --- ext/pulse/pulseaudiosink.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/pulse/pulseaudiosink.c b/ext/pulse/pulseaudiosink.c index 2227b11..389ce46 100644 --- a/ext/pulse/pulseaudiosink.c +++ b/ext/pulse/pulseaudiosink.c @@ -872,7 +872,6 @@ 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