ensure parameter contract is met

This commit is contained in:
Vincent Sanders 2013-05-04 08:52:12 +01:00
parent 560faaa7be
commit 848f3d13ca
1 changed files with 1 additions and 0 deletions

View File

@ -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;