about summary refs log tree commit diff
path: root/src/nm-pacrunner-manager.c
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@ubuntu.com>2018-02-08 17:55:49 -0500
committerJeremy Bicha <jbicha@ubuntu.com>2018-02-08 17:55:49 -0500
commitf1c906035c6ea7eb635664835c153aed553dc2e5 (patch)
tree7b870b6cef1f902486dc706084124c6964b342a6 /src/nm-pacrunner-manager.c
parentd6158994abe7b2be73443f933ed7fdcc40954c24 (diff)
parentd0408a3e3b1cc6effec321d098008ef0c4acf91b (diff)
Merge tag 'debian/1.10.4-1' into bionic
network-manager Debian release 1.10.4-1
Diffstat (limited to 'src/nm-pacrunner-manager.c')
-rw-r--r--src/nm-pacrunner-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nm-pacrunner-manager.c b/src/nm-pacrunner-manager.c
index 08e10e40..36f517a2 100644
--- a/src/nm-pacrunner-manager.c
+++ b/src/nm-pacrunner-manager.c
@@ -128,7 +128,7 @@ config_unref (Config *config)
 	if (config->refcount == 1) {
 		g_variant_unref (config->args);
 		g_free (config->path);
-		c_list_unlink (&config->lst);
+		c_list_unlink_stale (&config->lst);
 		g_slice_free (Config, config);
 	} else
 		config->refcount--;
@@ -524,7 +524,7 @@ nm_pacrunner_manager_remove (NMPacrunnerManager *self, NMPacrunnerCallId *call_i
 		}
 	}
 
-	c_list_unlink_init (&config->lst);
+	c_list_unlink (&config->lst);
 	config_unref (config);
 }
 
@@ -570,7 +570,7 @@ dispose (GObject *object)
 	CList *iter, *safe;
 
 	c_list_for_each_safe (iter, safe, &priv->configs) {
-		c_list_unlink_init (iter);
+		c_list_unlink (iter);
 		config_unref (c_list_entry (iter, Config, lst));
 	}