From 8814bca33e515bcb9110dbdc9e0f44285dd5bb47 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 28 Oct 2010 21:00:07 +0000 Subject: Fix cleanup of hlcache_retrieval_ctx_ring svn path=/trunk/netsurf/; revision=10915 --- content/hlcache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/hlcache.c') 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) -- cgit v1.2.3