mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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
This commit is contained in:
parent
add30e0328
commit
763b2d3278
3 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-04-05 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* 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 <msmith@fluendo.com>
|
2006-04-05 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
* gst/gstquery.c: (gst_query_set_formats),
|
* gst/gstquery.c: (gst_query_set_formats),
|
||||||
|
|
|
@ -58,6 +58,7 @@ GST_START_TEST (test_remove1)
|
||||||
srcpad = gst_element_get_pad (src, "src");
|
srcpad = gst_element_get_pad (src, "src");
|
||||||
/* pad cannot be linked now */
|
/* pad cannot be linked now */
|
||||||
fail_if (gst_pad_is_linked (srcpad));
|
fail_if (gst_pad_is_linked (srcpad));
|
||||||
|
gst_object_unref (srcpad);
|
||||||
|
|
||||||
gst_object_unref (b1);
|
gst_object_unref (b1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -406,6 +406,8 @@ GST_START_TEST (test_parse_bin_from_description)
|
||||||
bin_tests[i].pad_names, s->str, bin_tests[i].bin_desc);
|
bin_tests[i].pad_names, s->str, bin_tests[i].bin_desc);
|
||||||
}
|
}
|
||||||
g_string_free (s, TRUE);
|
g_string_free (s, TRUE);
|
||||||
|
|
||||||
|
gst_object_unref (bin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue