From c6f6cc736f73dad384843648d5667833a214f46c Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Fri, 12 Oct 2012 18:53:16 +0530 Subject: sbc: audio: Fix a leak in sbcdec --- ext/sbc/gstsbcdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/sbc') 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); -- cgit v1.2.3