mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
validate: clean up action_types list on deinit
Reviewed-by: Thibault Saunier <tsaunier@gnome.org> Differential Revision: https://phabricator.freedesktop.org/D957
This commit is contained in:
parent
0a667858ab
commit
e51912065e
3 changed files with 11 additions and 0 deletions
|
@ -3638,3 +3638,10 @@ init_scenarios (void)
|
|||
/* *INDENT-ON* */
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
gst_validate_scenario_deinit (void)
|
||||
{
|
||||
_free_action_types (action_types);
|
||||
action_types = NULL;
|
||||
}
|
||||
|
|
|
@ -308,6 +308,8 @@ gst_validate_execute_action (GstValidateActionType * action_type
|
|||
GstState
|
||||
gst_validate_scenario_get_target_state (GstValidateScenario *scenario);
|
||||
|
||||
void gst_validate_scenario_deinit (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_VALIDATE_SCENARIOS__ */
|
||||
|
|
|
@ -269,6 +269,8 @@ gst_validate_deinit (void)
|
|||
_free_plugin_config (core_config);
|
||||
gst_validate_deinit_runner ();
|
||||
|
||||
gst_validate_scenario_deinit ();
|
||||
|
||||
g_clear_object (&_gst_validate_registry_default);
|
||||
|
||||
_priv_validate_override_registry_deinit ();
|
||||
|
|
Loading…
Reference in a new issue