Revert "pulseaudiosink: fix caps leak"
This reverts commit d6a9de9e2aedc8b66ab3219902b5a37e8d65ada2. setcaps functions aren't supposed to take ownership of the caps passed
This commit is contained in:
parent
c0e101e93f
commit
1e6bd5ad57
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user