Remove bogus assertions
svn path=/trunk/netsurf/; revision=11048
This commit is contained in:
parent
f40da966ad
commit
991472d264
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue