validate: scenario: fix scenarios leak
This commit is contained in:
parent
38342dfe2e
commit
a99c13da4b
@ -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…
x
Reference in New Issue
Block a user