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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user