fix caps leak in both cases

Original commit message from CVS:
fix caps leak in both cases
This commit is contained in:
Thomas Vander Stichele 2005-07-09 23:52:07 +00:00
parent 351230b554
commit 7d8c811095

View file

@ -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;