about summary refs log tree commit diff
path: root/clients/cli/devices.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-06-29 22:16:54 +0200
committerMichael Biebl <biebl@debian.org>2020-06-29 22:16:54 +0200
commit238d328f69e0f4b838f361d7ddac1d6134bfd631 (patch)
tree411ff73bb36d725e3a337d2fddbccc7b074622e0 /clients/cli/devices.c
parente8d426c51e83b8465f9be527fd014f51443f829d (diff)
parent10ae7d8cd706062742d0cdb1803d49909aef9e06 (diff)
Update upstream source from tag 'upstream/1.25.91'
Update to upstream version '1.25.91'
with Debian dir 82448cadc1dd251ffbe44b7c339cadeb55eb776b
Diffstat (limited to 'clients/cli/devices.c')
-rw-r--r--clients/cli/devices.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c
index e83d3472..27f72e77 100644
--- a/clients/cli/devices.c
+++ b/clients/cli/devices.c
@@ -4192,7 +4192,6 @@ do_device_wifi_hotspot (const NMCCommand *cmd, NmCli *nmc, int argc, const char
 		g_return_if_fail (s_wsec);
 
 		if (!set_wireless_security_for_hotspot (s_wsec, wifi_mode, caps, password, show_password, &error)) {
-			g_object_unref (connection);
 			g_string_printf (nmc->return_text, _("Error: Invalid 'password': %s."), error->message);
 			g_clear_error (&error);
 			nmc->return_value = NMC_RESULT_ERROR_UNKNOWN;