1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-16 05:15:36 +00:00

manager: Clear providers after origins

Fixes a segmentation fault on shutdown in nua_unregister()
This commit is contained in:
Evangelos Ribeiro Tzaras 2023-03-16 12:38:38 +01:00
parent 8312eb92f8
commit ae687b02aa

View file

@ -648,8 +648,8 @@ calls_manager_finalize (GObject *object)
g_clear_object (&self->origins); g_clear_object (&self->origins);
g_clear_object (&self->contacts_provider); g_clear_object (&self->contacts_provider);
g_clear_pointer (&self->providers, g_hash_table_unref);
g_clear_pointer (&self->origins_by_protocol, g_hash_table_unref); g_clear_pointer (&self->origins_by_protocol, g_hash_table_unref);
g_clear_pointer (&self->providers, g_hash_table_unref);
g_clear_pointer (&self->dial_actions_by_protocol, g_hash_table_unref); g_clear_pointer (&self->dial_actions_by_protocol, g_hash_table_unref);
G_OBJECT_CLASS (calls_manager_parent_class)->finalize (object); G_OBJECT_CLASS (calls_manager_parent_class)->finalize (object);