summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/hlcache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/hlcache.c b/content/hlcache.c
index 7dc82a42d..082f2e877 100644
--- a/content/hlcache.c
+++ b/content/hlcache.c
@@ -127,8 +127,9 @@ void hlcache_finalise(void)
/* Clean up retrieval contexts */
if (hlcache_retrieval_ctx_ring != NULL) {
+ ctx = hlcache_retrieval_ctx_ring;
+
do {
- ctx = hlcache_retrieval_ctx_ring;
next = ctx->r_next;
if (ctx->llcache != NULL)