summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-10-16 10:48:40 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-10-16 10:48:40 +0100
commit5947ff970e3ae86b589f31772ca3c50240898710 (patch)
tree59a2e3e8cb8cd6935288726c1870f49ae3fe1eb2
parentfc3602aec8122745f5dcd95aac701e00139951cc (diff)
downloadgstreamer-5947ff970e3ae86b589f31772ca3c50240898710.tar.gz
tests: pipeline: fix leak
-rw-r--r--tests/check/gst/gstpipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/gst/gstpipeline.c b/tests/check/gst/gstpipeline.c
index 5e41996337..237e65a3f2 100644
--- a/tests/check/gst/gstpipeline.c
+++ b/tests/check/gst/gstpipeline.c
@@ -795,6 +795,7 @@ GST_START_TEST (test_pipeline_processing_deadline_no_queue)
fail_unless (g_error_matches (gerror, GST_CORE_ERROR, GST_CORE_ERROR_CLOCK));
gst_message_unref (msg);
gst_object_unref (bus);
+ g_clear_error (&gerror);
gst_element_set_state (pipeline, GST_STATE_NULL);