summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-12-16 17:39:17 +0100
committerThomas Haller <thaller@redhat.com>2019-12-16 17:42:23 +0100
commit4a3ca7115aabbbe9dfb649d116b06e3af73d4bdf (patch)
treeb12b081f6dff104a6fa0d91cb3890ed24a541235 /clients
parentec0adbfaf0175fc7f54b3f4a6035240a837651e6 (diff)
downloadNetworkManager-4a3ca7115aabbbe9dfb649d116b06e3af73d4bdf.tar.gz
all: fix wrong "gs_free GError *" declarations
This is a bug and leads either to a leak or a crash.
Diffstat (limited to 'clients')
-rw-r--r--clients/cli/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c
index 25751c10dd..a4fbf6df3a 100644
--- a/clients/cli/connections.c
+++ b/clients/cli/connections.c
@@ -7649,7 +7649,7 @@ editor_menu_main (NmCli *nmc, NMConnection *connection, const char *connection_t
}
} else {
gs_free char *prop_name = NULL;
- gs_free GError *tmp_err = NULL;
+ gs_free_error GError *tmp_err = NULL;
prop_name = is_property_valid (ss, cmd_arg_p, &tmp_err);
if (prop_name) {