mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
sbc: audio: Fix a leak in sbcdec
This commit is contained in:
parent
dace80cc41
commit
c6f6cc736f
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ sbc_dec_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
gst_pad_template_get_caps (template));
|
gst_pad_template_get_caps (template));
|
||||||
|
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
gst_object_unref (template);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_buffer_set_caps (output, dec->outcaps);
|
gst_buffer_set_caps (output, dec->outcaps);
|
||||||
|
|
Loading…
Reference in a new issue