diff --git a/gst/gstpad.c b/gst/gstpad.c index 8487b9f4ef..1abc6d93e1 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -1384,6 +1384,7 @@ gst_pad_link_check_compatible_unlocked (GstPad * src, GstPad * sink) gst_caps_unref (icaps); return FALSE; } + gst_caps_unref (icaps); } return TRUE;