1
0
Fork 0
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:
Evangelos Ribeiro Tzaras 2023-03-16 12:40:21 +01:00
parent 3076f913e7
commit 8b3eccd1b7

View file

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