mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 04:15:32 +00:00
sip: origin: Fix memory leak
This commit is contained in:
parent
9569afa073
commit
f6e6d08332
1 changed files with 5 additions and 0 deletions
|
@ -1356,6 +1356,11 @@ calls_sip_origin_dispose (GObject *object)
|
|||
CallsSipOrigin *self = CALLS_SIP_ORIGIN (object);
|
||||
|
||||
g_clear_pointer (&self->own_ip, g_free);
|
||||
g_clear_pointer (&self->transport_protocol, g_free);
|
||||
g_clear_pointer (&self->display_name, g_free);
|
||||
g_clear_pointer (&self->host, g_free);
|
||||
g_clear_pointer (&self->user, g_free);
|
||||
g_clear_pointer (&self->password, g_free);
|
||||
|
||||
if (!self->use_direct_connection && self->state == CALLS_ACCOUNT_STATE_ONLINE)
|
||||
go_online (CALLS_ACCOUNT (self), FALSE);
|
||||
|
|
Loading…
Reference in a new issue