diff options
| author | Michael Biebl <biebl@debian.org> | 2017-12-12 15:53:07 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-12-12 15:53:07 +0100 |
| commit | afcd268ea7b1149fbfb66bce4eca659b675da0a2 (patch) | |
| tree | c3fca2203ad17434daf3ccf576582bd66aa41ab2 /libnm/nm-object.c | |
| parent | 417f6015c3dc8c47cf27daa59f64e0e36c521b9c (diff) | |
New upstream version 1.10.2 upstream/1.10.2
Diffstat (limited to 'libnm/nm-object.c')
| -rw-r--r-- | libnm/nm-object.c | 6 |
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); |