Commit f200573a authored by Thomas Haller's avatar Thomas Haller

all: fix wrong "gs_free GError *" declarations

This is a bug and leads either to a leak or a crash.

(cherry picked from commit 4a3ca711)
(cherry picked from commit 809d70ee)
parent 00cf235a
Pipeline #89343 passed with stage
in 31 minutes and 16 seconds
......@@ -7572,7 +7572,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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment