validate-scenario: Don't leak temporary local variables structures
authorEdward Hervey <edward@centricular.com>
Fri, 4 Nov 2022 10:02:27 +0000 (11:02 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 4 Nov 2022 17:59:21 +0000 (17:59 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3319>

subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c

index 4873882..3a66a6d 100644 (file)
@@ -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);