diff --git a/ext/ladspa/gstladspafilter.c b/ext/ladspa/gstladspafilter.c index d1b853b6e5..69d0e635e4 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; }