From: Thibault Saunier Date: Thu, 9 Apr 2020 14:54:26 +0000 (-0400) Subject: test: tempochange: Plug leak X-Git-Tag: 1.19.3~493^2~224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5dd4175fc35e332409a5189e1d89023a47e8daaf;p=platform%2Fupstream%2Fgstreamer.git test: tempochange: Plug leak CID: 1455448 --- 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);