pulseaudiosink: fix caps leak

This commit is contained in:
Thiago Santos 2011-11-11 10:06:25 -03:00
parent 37c8abcdbd
commit d6a9de9e2a

View file

@ -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;