mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
tests: fix message leak in seek test
https://bugzilla.gnome.org/show_bug.cgi?id=780757
This commit is contained in:
parent
c423df49af
commit
8d32fbb714
1 changed files with 1 additions and 0 deletions
|
@ -406,6 +406,7 @@ GST_START_TEST (test_loopback_1)
|
||||||
* screwed up. */
|
* screwed up. */
|
||||||
fail_unless (msg, "no message within the timed window");
|
fail_unless (msg, "no message within the timed window");
|
||||||
fail_unless_equals_string (GST_MESSAGE_TYPE_NAME (msg), "segment-done");
|
fail_unless_equals_string (GST_MESSAGE_TYPE_NAME (msg), "segment-done");
|
||||||
|
gst_message_unref (msg);
|
||||||
|
|
||||||
res = gst_element_set_state (bin, GST_STATE_NULL);
|
res = gst_element_set_state (bin, GST_STATE_NULL);
|
||||||
fail_unless (res != GST_STATE_CHANGE_FAILURE, NULL);
|
fail_unless (res != GST_STATE_CHANGE_FAILURE, NULL);
|
||||||
|
|
Loading…
Reference in a new issue