summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2012-10-12 18:53:16 +0530
committerTim-Philipp Müller <tim@centricular.net>2013-03-27 22:21:17 +0000
commitc6f6cc736f73dad384843648d5667833a214f46c (patch)
tree5987e4e95458040908dfb4608feb9bd9a36500f2 /ext
parentdace80cc41fbb58aaf489515304f7cf12e0c5fcb (diff)
sbc: audio: Fix a leak in sbcdec
Diffstat (limited to 'ext')
-rw-r--r--ext/sbc/gstsbcdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sbc/gstsbcdec.c b/ext/sbc/gstsbcdec.c
index e70232b7e..7f61a21a4 100644
--- a/ext/sbc/gstsbcdec.c
+++ b/ext/sbc/gstsbcdec.c
@@ -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);