ladspa: Unref pad template caps after usage
authorSebastian Rasmussen <sebras@hotmail.com>
Fri, 8 Aug 2014 23:25:21 +0000 (01:25 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 11 Aug 2014 06:48:06 +0000 (08:48 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=734519

ext/ladspa/gstladspafilter.c

index d1b853b..69d0e63 100644 (file)
@@ -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;
 }