Fix broken linked list removal.

svn path=/trunk/netsurf/; revision=10200
This commit is contained in:
John Mark Bell 2010-03-29 06:29:25 +00:00
parent 311b458d56
commit b6f6bc5fdd

View File

@ -986,7 +986,7 @@ nserror llcache_object_remove_from_list(llcache_object *object,
object->prev->next = object->next;
if (object->next != NULL)
object->next->prev = object->next;
object->next->prev = object->prev;
return NSERROR_OK;
}