[calls] sip: origin: Purge own IP when uninitialising account
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] sip: origin: Purge own IP when uninitialising account
- Date: Mon, 10 Jan 2022 08:10:46 +0000 (UTC)
commit eeb97c82c020eb40294a730dfd761cd6aa49df46
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Mon Jan 10 08:27:08 2022 +0100
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.
plugins/sip/calls-sip-origin.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c
index fc79a5e5..7fb9bdb2 100644
--- a/plugins/sip/calls-sip-origin.c
+++ b/plugins/sip/calls-sip-origin.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]