summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/llcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/llcache.c b/content/llcache.c
index 5527a232d..bcec2ee2c 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -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;
}