User may have no handle if it was the target of an iterator when the handle was aborted

svn path=/trunk/netsurf/; revision=11071
This commit is contained in:
John Mark Bell 2010-12-16 00:18:41 +00:00
parent 1248c21a0e
commit bcfb508f86

View File

@ -1241,7 +1241,7 @@ nserror llcache_object_remove_user(llcache_object *object,
llcache_object_user *user)
{
assert(object->users != NULL);
assert(user->handle->object == object);
assert(user->handle == NULL || user->handle->object == object);
assert((user->prev != NULL) || (object->users == user));
if (user == object->users)