From 763b2d32784101ca7131746e14b8582835a70443 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 5 Apr 2006 15:12:39 +0000 Subject: [PATCH] tests/check/gst/gstghostpad.c: Unref a pad we reffed. Original commit message from CVS: * tests/check/gst/gstghostpad.c: (GST_START_TEST): Unref a pad we reffed. * tests/check/gst/gstutils.c: (GST_START_TEST): Unref bins --- ChangeLog | 7 +++++++ tests/check/gst/gstghostpad.c | 1 + tests/check/gst/gstutils.c | 2 ++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index c584803a78..5122f08561 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-04-05 Michael Smith + + * tests/check/gst/gstghostpad.c: (GST_START_TEST): + Unref a pad we reffed. + * tests/check/gst/gstutils.c: (GST_START_TEST): + Unref bins + 2006-04-05 Michael Smith * gst/gstquery.c: (gst_query_set_formats), diff --git a/tests/check/gst/gstghostpad.c b/tests/check/gst/gstghostpad.c index 1d6c385a73..e13fa41633 100644 --- a/tests/check/gst/gstghostpad.c +++ b/tests/check/gst/gstghostpad.c @@ -58,6 +58,7 @@ GST_START_TEST (test_remove1) srcpad = gst_element_get_pad (src, "src"); /* pad cannot be linked now */ fail_if (gst_pad_is_linked (srcpad)); + gst_object_unref (srcpad); gst_object_unref (b1); } diff --git a/tests/check/gst/gstutils.c b/tests/check/gst/gstutils.c index 5e1bc39fa3..5399e8894b 100644 --- a/tests/check/gst/gstutils.c +++ b/tests/check/gst/gstutils.c @@ -406,6 +406,8 @@ GST_START_TEST (test_parse_bin_from_description) bin_tests[i].pad_names, s->str, bin_tests[i].bin_desc); } g_string_free (s, TRUE); + + gst_object_unref (bin); } }