From 4682f0ccd866b86b430dbed8862ede91c1d1a061 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 8 Apr 2010 07:08:16 +0000 Subject: When we've snapshotted an object, make sure we add the *new* object into the list of uncacheable objects, and not the old one. Otherwise, our cache chains end up being corrupted. svn path=/trunk/netsurf/; revision=10295 --- content/llcache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/llcache.c b/content/llcache.c index 7f44cc916..b9a19aabf 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -346,7 +346,8 @@ nserror llcache_handle_abort(llcache_handle *handle) llcache_object_add_user(newobject, user); /* Add new object to uncached list */ - llcache_object_add_to_list(object, &llcache_uncached_objects); + llcache_object_add_to_list(newobject, + &llcache_uncached_objects); /* And use it from now on. */ object = newobject; -- cgit v1.2.3