mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-15 21:05:36 +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;
|
self->nua = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_clear_pointer (&self->own_ip, g_free);
|
||||||
self->state = CALLS_ACCOUNT_NULL;
|
self->state = CALLS_ACCOUNT_NULL;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue