From 7d8c81109507689f5e9a16f1d0ea8123cb60c297 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 9 Jul 2005 23:52:07 +0000 Subject: [PATCH] fix caps leak in both cases Original commit message from CVS: fix caps leak in both cases --- gst/gstpad.c | 1 + 1 file changed, 1 insertion(+) 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;