From 848f3d13ca50d156a20131829b3df29210097ba4 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 4 May 2013 08:52:12 +0100 Subject: ensure parameter contract is met --- content/llcache.c | 1 + 1 file changed, 1 insertion(+) (limited to 'content') diff --git a/content/llcache.c b/content/llcache.c index 171ae15fc..938f1e8f6 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -1185,6 +1185,7 @@ static nserror llcache_object_add_user(llcache_object *object, { assert(user->next == NULL); assert(user->prev == NULL); + assert(user->handle != NULL); user->handle->object = object; -- cgit v1.2.3