From 2114490b9b2e892a6084ed16fd8567eaea0e769d Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 4 Nov 2022 11:02:27 +0100 Subject: [PATCH] validate-scenario: Don't leak temporary local variables structures Part-of: --- subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c b/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c index 4873882..3a66a6d 100644 --- a/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c +++ b/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c @@ -4162,6 +4162,8 @@ gst_validate_foreach_prepare (GstValidateAction * action) g_value_copy (it_value, &subact->priv->it_value); } } + + gst_structure_free (lvariables); } g_list_free_full (actions, (GDestroyNotify) gst_structure_free); -- 2.7.4