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:
parent
6e6873432b
commit
f7626e532f
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue