From 8f103477757347be969baa449e62f775804f5141 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 --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 8800b73e..6ea66790 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1280,7 +1280,7 @@ static void drop_client(sdata_t *sdata, int64_t id) } /* Discard any dead instances that no longer hold any reference counts, * freeing up their memory safely */ - 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);