mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-09 13:25:35 +00:00
calls-manager: Don't leak hash tables
Signed-off-by: Guido Günther <agx@sigxcpu.org> Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/756>
This commit is contained in:
parent
fc9aabb1ec
commit
141eb85580
1 changed files with 4 additions and 0 deletions
|
@ -462,6 +462,10 @@ calls_manager_finalize (GObject *object)
|
||||||
g_clear_object (&self->origins);
|
g_clear_object (&self->origins);
|
||||||
g_clear_object (&self->origins_flat);
|
g_clear_object (&self->origins_flat);
|
||||||
|
|
||||||
|
g_clear_pointer (&self->origins_by_protocol, g_hash_table_unref);
|
||||||
|
g_clear_pointer (&self->dial_actions_by_protocol, g_hash_table_unref);
|
||||||
|
g_clear_pointer (&self->calls, g_hash_table_unref);
|
||||||
|
|
||||||
G_OBJECT_CLASS (calls_manager_parent_class)->finalize (object);
|
G_OBJECT_CLASS (calls_manager_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue