validate-scenario: Don't leak temporary local variables structures

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3319>
This commit is contained in:
Edward Hervey 2022-11-04 11:02:27 +01:00 committed by GStreamer Marge Bot
parent f4d0537b3e
commit 2114490b9b

View 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);