mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
sip-origin: Use g_clear_pointer() instead of emulating it
This commit is contained in:
parent
3076f913e7
commit
8b3eccd1b7
1 changed files with 1 additions and 2 deletions
|
@ -1248,8 +1248,7 @@ deinit_sip_account (CallsSipOrigin *self)
|
|||
return FALSE;
|
||||
}
|
||||
g_debug ("nua_shutdown() complete. Destroying nua handle");
|
||||
nua_destroy (self->nua);
|
||||
self->nua = NULL;
|
||||
g_clear_pointer (&self->nua, nua_destroy);
|
||||
}
|
||||
|
||||
g_clear_pointer (&self->own_ip, g_free);
|
||||
|
|
Loading…
Reference in a new issue