mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-06 03:25:31 +00:00
sip: origin: Purge own IP when uninitialising account
This will make sure that we're not using a stale IP address if we're resetting the account after an IP change.
This commit is contained in:
parent
38f9e0b608
commit
eeb97c82c0
1 changed files with 1 additions and 0 deletions
|
@ -1091,6 +1091,7 @@ deinit_sip_account (CallsSipOrigin *self)
|
|||
self->nua = NULL;
|
||||
}
|
||||
|
||||
g_clear_pointer (&self->own_ip, g_free);
|
||||
self->state = CALLS_ACCOUNT_NULL;
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue