diff --git a/sys/d3d11/gstd3d11convert.cpp b/sys/d3d11/gstd3d11convert.cpp index 6456324c84..38cc34fa15 100644 --- a/sys/d3d11/gstd3d11convert.cpp +++ b/sys/d3d11/gstd3d11convert.cpp @@ -2253,6 +2253,7 @@ gst_d3d11_color_convert_fixate_caps (GstBaseTransform * base, format = gst_d3d11_base_convert_get_fixed_format (base, direction, caps, othercaps); + gst_caps_unref (othercaps); if (gst_caps_is_empty (format)) { GST_ERROR_OBJECT (base, "Could not convert formats");