mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-16 05:15:36 +00:00
sip-origin: Use g_clear_pointer() instead of emulating it
This commit is contained in:
parent
ae687b02aa
commit
d2a5c14b77
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