diff options
| author | Michael Biebl <biebl@debian.org> | 2025-02-28 17:38:21 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2025-02-28 17:38:21 +0100 |
| commit | 625e8ce60e826bde943487b8238884a9232e4562 (patch) | |
| tree | 4c1f0f88c466c69c27fc9ffbe787cc7d0964d630 /src/core/settings | |
| parent | 8bdf070ff046f482f6eb5e2b15ebc216f5d1e3da (diff) | |
New upstream version 1.52.0 upstream/1.52.0
Diffstat (limited to 'src/core/settings')
| -rw-r--r-- | src/core/settings/plugins/keyfile/nms-keyfile-plugin.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/core/settings/plugins/keyfile/nms-keyfile-plugin.c b/src/core/settings/plugins/keyfile/nms-keyfile-plugin.c index 1679cab6..681eef85 100644 --- a/src/core/settings/plugins/keyfile/nms-keyfile-plugin.c +++ b/src/core/settings/plugins/keyfile/nms-keyfile-plugin.c @@ -880,12 +880,11 @@ nms_keyfile_plugin_update_connection(NMSKeyfilePlugin *self, NMConnection **out_connection, GError **error) { - NMSKeyfilePluginPrivate *priv = NMS_KEYFILE_PLUGIN_GET_PRIVATE(self); - NMSKeyfileStorage *storage = NMS_KEYFILE_STORAGE(storage_x); - gs_unref_object NMConnection *connection_clone = NULL; - gs_unref_object NMConnection *reread = NULL; - gs_free char *full_filename = NULL; - gs_free_error GError *local = NULL; + NMSKeyfilePluginPrivate *priv = NMS_KEYFILE_PLUGIN_GET_PRIVATE(self); + NMSKeyfileStorage *storage = NMS_KEYFILE_STORAGE(storage_x); + gs_unref_object NMConnection *reread = NULL; + gs_free char *full_filename = NULL; + gs_free_error GError *local = NULL; struct timespec mtime; const char *previous_filename; gboolean reread_same; @@ -946,7 +945,7 @@ nms_keyfile_plugin_update_connection(NMSKeyfilePlugin *self, &local)) { _LOGW("commit: failure to write %s (%s) to \"%s\": %s", uuid, - nm_connection_get_id(connection_clone), + nm_connection_get_id(connection), previous_filename, local->message); g_propagate_error(error, g_steal_pointer(&local)); |