mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
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
This commit is contained in:
parent
92bf8b1a7b
commit
4682f0ccd8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user