1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-06 11:35:32 +00:00

sip: provider: use g_clear_pointer pattern instead of emulating it

This commit is contained in:
Evangelos Ribeiro Tzaras 2021-04-09 18:15:37 +02:00
parent 6e6873432b
commit f7626e532f

View file

@ -337,8 +337,7 @@ calls_sip_provider_dispose (GObject *object)
g_list_store_remove_all (self->origins);
g_clear_object (&self->origins);
g_free (self->filename);
self->filename = NULL;
g_clear_pointer (&self->filename, g_free);
calls_sip_provider_deinit_sip (self);