ladspa: Unref pad template caps after usage
authorSebastian Rasmussen <sebras@hotmail.com>
Fri, 8 Aug 2014 23:25:21 +0000 (01:25 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 10 Aug 2014 10:47:17 +0000 (11:47 +0100)
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;
 }