Fix cleanup of hlcache_retrieval_ctx_ring

svn path=/trunk/netsurf/; revision=10915
This commit is contained in:
John Mark Bell 2010-10-28 21:00:07 +00:00
parent 338e39e167
commit 8814bca33e
1 changed files with 2 additions and 1 deletions

View File

@ -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)