From d64a0fa5ded801baeb0ecb8d695567ed4c46c31c Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 16 Jan 2015 11:52:34 +1100 Subject: [PATCH] Dead instances are a singly linked list only Conflicts: src/stratifier.c --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index bb189934..8756a851 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1252,7 +1252,7 @@ static void drop_client(sdata_t *sdata, int64_t id) ck_wlock(&sdata->instance_lock); if (client) __dec_instance_ref(client); - DL_FOREACH_SAFE(sdata->dead_instances, client, tmp) { + LL_FOREACH_SAFE(sdata->dead_instances, client, tmp) { if (!client->ref) { LOGINFO("Stratifier discarding instance %ld", client->id); LL_DELETE(sdata->dead_instances, client);