summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2017-03-31 11:22:00 (GMT)
committerTim-Philipp Müller <tim@centricular.com>2017-04-19 12:39:46 (GMT)
commit8d32fbb714d71af408ffa472241ac3222e06f29f (patch)
tree3d0c3e5f01d12dc3514374dfe4bd49659d8199b9
parentc423df49af7d161bb2e8b9cb2aecc64b4272b9b6 (diff)
downloadgstreamer-8d32fbb714d71af408ffa472241ac3222e06f29f.tar.gz
gstreamer-8d32fbb714d71af408ffa472241ac3222e06f29f.tar.xz
tests: fix message leak in seek test
https://bugzilla.gnome.org/show_bug.cgi?id=780757
-rw-r--r--tests/check/pipelines/seek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/pipelines/seek.c b/tests/check/pipelines/seek.c
index 1461831..28bb884 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);