about summary refs log tree commit diff
path: root/clients/cli/nmcli.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2020-06-23 18:07:21 +0200
committerSebastien Bacher <seb128@ubuntu.com>2020-06-23 18:07:21 +0200
commit39143df7aed46e83f8c68ea9ad6d24cfdf5a1dd8 (patch)
treed04e604dc48369096d672ed8e02449c903bb986e /clients/cli/nmcli.c
parent96642ebde58e1eea692aea6a92d33f45452fa9c0 (diff)
parent45e8e1149027529194982212c804c0468aa01d98 (diff)
Merge branch 'upstream/latest' of https://salsa.debian.org/utopia-team/network-manager into upstream/latest
Diffstat (limited to 'clients/cli/nmcli.c')
-rw-r--r--clients/cli/nmcli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/nmcli.c b/clients/cli/nmcli.c
index ee5ef015..e23212eb 100644
--- a/clients/cli/nmcli.c
+++ b/clients/cli/nmcli.c
@@ -1001,8 +1001,8 @@ main (int argc, char *argv[])
 		g_printerr ("%s\n", nm_cli.return_text->str);
 	}
 
-	g_main_loop_unref (loop);
 	nmc_cleanup (&nm_cli);
+	g_main_loop_unref (loop);
 
 	return nm_cli.return_value;
 }