diff options
author | Thomas Haller <thaller@redhat.com> | 2020-09-02 17:36:08 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-09-02 17:46:43 +0200 |
commit | 426a4c9d50e1a5b7187dfdf82ee423768fe1c6da (patch) | |
tree | 91da0ddc220468133812062579e4de4e8975f561 /clients | |
parent | 63f304ad5876208a7c9c100ea43a243b7893c345 (diff) | |
download | NetworkManager-426a4c9d50e1a5b7187dfdf82ee423768fe1c6da.tar.gz |
all: replace cleanup macro "gs_unref_keyfile" by "nm_auto_unref_keyfile"
Diffstat (limited to 'clients')
-rw-r--r-- | clients/cli/connections.c | 2 | ||||
-rw-r--r-- | clients/common/nm-secret-agent-simple.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 9ff6a393ec..3878264b2d 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -6322,7 +6322,7 @@ load_history_cmds (const char *uuid) static void save_history_cmds (const char *uuid) { - gs_unref_keyfile GKeyFile *kf = NULL; + nm_auto_unref_keyfile GKeyFile *kf = NULL; gs_free_error GError *error = NULL; gs_free char *filename = NULL; gs_free char *data = NULL; diff --git a/clients/common/nm-secret-agent-simple.c b/clients/common/nm-secret-agent-simple.c index 53217e6f33..290a9c3063 100644 --- a/clients/common/nm-secret-agent-simple.c +++ b/clients/common/nm-secret-agent-simple.c @@ -550,7 +550,7 @@ _auth_dialog_exited (GPid pid, int status, gpointer user_data) RequestData *request = data->request; GPtrArray *secrets = data->secrets; NMSettingVpn *s_vpn = nm_connection_get_setting_vpn (request->connection); - gs_unref_keyfile GKeyFile *keyfile = NULL; + nm_auto_unref_keyfile GKeyFile *keyfile = NULL; gs_strfreev char **groups = NULL; gs_free char *title = NULL; gs_free char *message = NULL; |