manager: Clear providers after origins
Fixes a segmentation fault on shutdown in nua_unregister()
This commit is contained in:
@@ -648,8 +648,8 @@ calls_manager_finalize (GObject *object)
|
||||
g_clear_object (&self->origins);
|
||||
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->providers, 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);
|
||||
|
Reference in New Issue
Block a user