From 8d32fbb714d71af408ffa472241ac3222e06f29f Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Fri, 31 Mar 2017 12:22:00 +0100 Subject: [PATCH] tests: fix message leak in seek test https://bugzilla.gnome.org/show_bug.cgi?id=780757 --- tests/check/pipelines/seek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/pipelines/seek.c b/tests/check/pipelines/seek.c index 146183161e..28bb8846d2 100644 --- a/tests/check/pipelines/seek.c +++ b/tests/check/pipelines/seek.c @@ -406,6 +406,7 @@ GST_START_TEST (test_loopback_1) * screwed up. */ fail_unless (msg, "no message within the timed window"); fail_unless_equals_string (GST_MESSAGE_TYPE_NAME (msg), "segment-done"); + gst_message_unref (msg); res = gst_element_set_state (bin, GST_STATE_NULL); fail_unless (res != GST_STATE_CHANGE_FAILURE, NULL);