mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
validate: scenario: fix scenarios leak
This commit is contained in:
parent
38342dfe2e
commit
a99c13da4b
1 changed files with 3 additions and 1 deletions
|
@ -1870,7 +1870,7 @@ static gboolean
|
|||
gst_validate_scenario_load (GstValidateScenario * scenario,
|
||||
const gchar * scenario_name)
|
||||
{
|
||||
gchar **scenarios;
|
||||
gchar **scenarios = NULL;
|
||||
guint i;
|
||||
gchar *lfilename = NULL, *tldir = NULL;
|
||||
gboolean found_actions = FALSE, is_config, ret = TRUE;
|
||||
|
@ -1952,6 +1952,8 @@ done:
|
|||
if (env_scenariodir)
|
||||
g_strfreev (env_scenariodir);
|
||||
|
||||
g_strfreev (scenarios);
|
||||
|
||||
if (ret == FALSE)
|
||||
g_error ("Could not set scenario %s => EXIT\n", scenario_name);
|
||||
|
||||
|
|
Loading…
Reference in a new issue