mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
tests/check/gst/gstghostpad.c: Fix leak in check.
Original commit message from CVS: * tests/check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite): Fix leak in check.
This commit is contained in:
parent
785eafa32a
commit
15b2ccbcc9
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-10-02 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* tests/check/gst/gstghostpad.c: (GST_START_TEST),
|
||||
(gst_ghost_pad_suite):
|
||||
Fix leak in check.
|
||||
|
||||
2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstpad.c:
|
||||
|
|
|
@ -559,6 +559,8 @@ GST_START_TEST (test_ghost_pads_new_from_template)
|
|||
newcaps = gst_pad_get_caps (ghostpad);
|
||||
fail_unless (newcaps != NULL);
|
||||
fail_unless (gst_caps_is_equal (newcaps, padcaps));
|
||||
gst_caps_unref (newcaps);
|
||||
gst_caps_unref (padcaps);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
|
Loading…
Reference in a new issue