1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-30 15:49:31 +00:00

sip: provider: Use g_auto and GStrv

Instead of char** and g_strfreev()
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-07-05 17:39:03 +02:00 committed by Evangelos Ribeiro Tzaras
parent d5bf31bdaf
commit 58331afcf7

View file

@ -91,7 +91,7 @@ calls_sip_provider_load_accounts (CallsSipProvider *self)
{
g_autoptr (GError) error = NULL;
g_autoptr (GKeyFile) key_file = g_key_file_new ();
gchar **groups = NULL;
g_auto (GStrv) groups = NULL;
g_assert (CALLS_IS_SIP_PROVIDER (self));
@ -118,8 +118,6 @@ calls_sip_provider_load_accounts (CallsSipProvider *self)
/* TODO rewrite */
}
g_strfreev (groups);
}