From 5dd4175fc35e332409a5189e1d89023a47e8daaf Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 9 Apr 2020 10:54:26 -0400 Subject: [PATCH] test: tempochange: Plug leak CID: 1455448 --- tests/check/ges/tempochange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/ges/tempochange.c b/tests/check/ges/tempochange.c index 0021040246..b537d91550 100644 --- a/tests/check/ges/tempochange.c +++ b/tests/check/ges/tempochange.c @@ -132,11 +132,11 @@ static Suite * ges_suite (void) { Suite *s = suite_create ("ges"); - TCase *tc_chain = tcase_create ("tempochange"); GstPluginFeature *pitch = gst_registry_find_feature (gst_registry_get (), "pitch", GST_TYPE_ELEMENT_FACTORY); if (pitch) { + TCase *tc_chain = tcase_create ("tempochange"); gst_object_unref (pitch); suite_add_tcase (s, tc_chain); -- 2.34.1