diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-13 08:12:31 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-13 08:12:31 +0000 |
commit | 702c94bb304a3eb306aa4a3bc4d764724f97caa6 (patch) | |
tree | ff78ebc0a596dd107266776113233231aca31263 /content | |
parent | d9f8b8949ecabc78350d230ab88efae4be7b3d2f (diff) | |
download | netsurf-702c94bb304a3eb306aa4a3bc4d764724f97caa6.tar.gz netsurf-702c94bb304a3eb306aa4a3bc4d764724f97caa6.tar.bz2 |
Fix assertion: user->next may be NULL, so there's no point asserting that it isn't
svn path=/trunk/netsurf/; revision=11046
Diffstat (limited to 'content')
-rw-r--r-- | content/llcache.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |