mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
Revert last change
svn path=/trunk/netsurf/; revision=11049
This commit is contained in:
parent
991472d264
commit
a5221248c2
@ -564,13 +564,10 @@ nserror llcache_object_user_destroy(llcache_object_user *user)
|
||||
#ifdef LLCACHE_TRACE
|
||||
LOG(("Destroyed user %p", user));
|
||||
#endif
|
||||
|
||||
/* 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. */
|
||||
|
||||
|
||||
assert(user->next == NULL);
|
||||
assert(user->prev == NULL);
|
||||
|
||||
free(user);
|
||||
|
||||
return NSERROR_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user