summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-13 08:25:54 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-13 08:25:54 +0000
commita5221248c2f229264ab9f20fb7249d57def3f156 (patch)
treec813ce99f23712975724739ece48339c6d0535a4
parent991472d26431caa424a4e547f508ceadeae4734e (diff)
downloadnetsurf-a5221248c2f229264ab9f20fb7249d57def3f156.tar.gz
netsurf-a5221248c2f229264ab9f20fb7249d57def3f156.tar.bz2
Revert last change
svn path=/trunk/netsurf/; revision=11049
-rw-r--r--content/llcache.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/content/llcache.c b/content/llcache.c
index f90cf9f2b..21dcd9f38 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -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;