summaryrefslogtreecommitdiff
path: root/ext/ladspa
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2014-08-09 01:25:21 +0200
committerTim-Philipp Müller <tim@centricular.com>2014-08-10 11:47:17 +0100
commit9b7314cb6c1ebf437d2345a1e9fc978402fe129f (patch)
tree8ccc1386ccf82b424a6b930ea225753a21557f37 /ext/ladspa
parent1b56e801473c37d6b1777bb1cd7dd8322c769881 (diff)
downloadgstreamer-plugins-bad-9b7314cb6c1ebf437d2345a1e9fc978402fe129f.tar.gz
ladspa: Unref pad template caps after usage
https://bugzilla.gnome.org/show_bug.cgi?id=734519
Diffstat (limited to 'ext/ladspa')
-rw-r--r--ext/ladspa/gstladspafilter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/ladspa/gstladspafilter.c b/ext/ladspa/gstladspafilter.c
index d1b853b6e..69d0e635e 100644
--- a/ext/ladspa/gstladspafilter.c
+++ b/ext/ladspa/gstladspafilter.c
@@ -121,6 +121,9 @@ gst_ladspa_filter_type_transform_caps (GstBaseTransform * base,
GST_DEBUG_OBJECT (ladspa_debug, "Intersection %" GST_PTR_FORMAT, ret);
}
+ gst_caps_unref (srccaps);
+ gst_caps_unref (sinkcaps);
+
return ret;
}