mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 12:02:27 +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_caps_unref (caps);
|
||||
gst_object_unref (template);
|
||||
}
|
||||
|
||||
gst_buffer_set_caps (output, dec->outcaps);
|
||||
|
|
Loading…
Reference in a new issue