Remove bogus assertions

svn path=/trunk/netsurf/; revision=11048
This commit is contained in:
John Mark Bell 2010-12-13 08:24:04 +00:00
parent f40da966ad
commit 991472d264
1 changed files with 7 additions and 4 deletions

View File

@ -565,8 +565,11 @@ nserror llcache_object_user_destroy(llcache_object_user *user)
LOG(("Destroyed user %p", user));
#endif
assert(user->next == NULL);
assert(user->prev == NULL);
/* We can't assert that user->next/prev are NULL here
* as llcache_object_remove_user can not invalidate
* them. However, we are only ever called as the result
* of the client releasing a handle, so the precondition
* holds. */
free(user);