mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-08 17:34:49 +00:00
validate:scenario: Plug some leaks
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/219>
This commit is contained in:
parent
369c74941f
commit
4177f0995e
1 changed files with 9 additions and 0 deletions
|
@ -756,6 +756,8 @@ _get_target_object_property (GstValidateScenario * scenario,
|
|||
done = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
gst_iterator_free (it);
|
||||
}
|
||||
REPORT_UNLESS (target, err, "Could not find pad: %s::%s", elemname, padname);
|
||||
|
||||
|
@ -4259,6 +4261,13 @@ gst_validate_scenario_load_structures (GstValidateScenario * scenario,
|
|||
}
|
||||
|
||||
action->action_number = priv->num_actions++;
|
||||
|
||||
if (action->priv->state == GST_VALIDATE_EXECUTE_ACTION_OK) {
|
||||
GST_DEBUG_OBJECT (scenario,
|
||||
"Unrefing action that has already been executed");
|
||||
gst_validate_action_unref (action);
|
||||
action = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/* max-latency and max-dropped can be overridden using config */
|
||||
|
|
Loading…
Reference in a new issue