mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate: scenario: fix leak during error cases
When message_async is not called during error cases, needs_parsing GList is not being freed resulting in leak. Hence free'ing the same in finalize. https://bugzilla.gnome.org/show_bug.cgi?id=753339
This commit is contained in:
parent
82ffd9c53e
commit
14414c13c5
1 changed files with 2 additions and 0 deletions
|
@ -2530,6 +2530,8 @@ gst_validate_scenario_finalize (GObject * object)
|
|||
(GDestroyNotify) gst_mini_object_unref);
|
||||
g_list_free_full (priv->on_addition_actions,
|
||||
(GDestroyNotify) gst_mini_object_unref);
|
||||
g_list_free_full (priv->needs_parsing,
|
||||
(GDestroyNotify) gst_mini_object_unref);
|
||||
g_free (priv->pipeline_name);
|
||||
g_mutex_clear (&priv->lock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue