From 702c94bb304a3eb306aa4a3bc4d764724f97caa6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 13 Dec 2010 08:12:31 +0000 Subject: Fix assertion: user->next may be NULL, so there's no point asserting that it isn't svn path=/trunk/netsurf/; revision=11046 --- content/llcache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'content/llcache.c') diff --git a/content/llcache.c b/content/llcache.c index c3685a9d6..0b45c3e31 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -1184,8 +1184,7 @@ nserror llcache_object_remove_user(llcache_object *object, { assert(object->users != NULL); assert(user->handle.object == object); - assert((user->next != NULL) || (user->prev != NULL) || - (object->users == user)); + assert((user->prev != NULL) || (object->users == user)); if (user == object->users) object->users = user->next; -- cgit v1.2.3