about summary refs log tree commit diff
path: root/libnm/nm-object.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-12-12 15:53:47 +0100
committerMichael Biebl <biebl@debian.org>2017-12-12 15:53:47 +0100
commit743faa81fda27a9c03298e8d6074623dc30db606 (patch)
tree28418e92b22530bb05f043084626291ed1e3d46b /libnm/nm-object.c
parent8dda18a856c2a05cefcab6278469c9d8df30f935 (diff)
parentafcd268ea7b1149fbfb66bce4eca659b675da0a2 (diff)
Update upstream source from tag 'upstream/1.10.2'
Update to upstream version '1.10.2'
with Debian dir 41691ea145b392588cd4e9e7496b61d5a95965fb
Diffstat (limited to 'libnm/nm-object.c')
-rw-r--r--libnm/nm-object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libnm/nm-object.c b/libnm/nm-object.c
index c344a08d..c5316880 100644
--- a/libnm/nm-object.c
+++ b/libnm/nm-object.c
@@ -161,7 +161,7 @@ typedef struct {
 static void
 notify_item_free (NotifyItem *item)
 {
-	c_list_unlink (&item->lst);
+	c_list_unlink_stale (&item->lst);
 	g_clear_object (&item->changed);
 	g_slice_free (NotifyItem, item);
 }
@@ -187,7 +187,7 @@ deferred_notify_cb (gpointer data)
 	 * list we're iterating.
 	 */
 	c_list_link_after (&priv->notify_items, &props);
-	c_list_unlink_init (&priv->notify_items);
+	c_list_unlink (&priv->notify_items);
 
 	g_object_ref (object);
 
@@ -344,7 +344,7 @@ odata_free (gpointer data)
 {
 	ObjectCreatedData *odata = data;
 
-	c_list_unlink (&odata->lst_pending);
+	c_list_unlink_stale (&odata->lst_pending);
 	g_object_unref (odata->self);
 	g_free (odata->objects);
 	g_slice_free (ObjectCreatedData, odata);