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
@ -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…
x
Reference in New Issue
Block a user