1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-09-27 14:15:26 +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:
Evangelos Ribeiro Tzaras 2022-01-10 08:27:08 +01:00
parent 38f9e0b608
commit eeb97c82c0

View file

@ -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;
}