diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index 08765b2..18d3f93 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -1037,6 +1037,8 @@ deinit_sip_account (CallsSipOrigin *self) remove_calls (self, NULL); if (self->nua) { + g_debug ("Clearing any handles"); + g_clear_pointer (&self->oper->register_handle, nua_handle_destroy); g_debug ("Requesting nua_shutdown ()"); self->is_nua_shutdown = FALSE; self->is_shutdown_success = FALSE;