ensure parameter contract is met
This commit is contained in:
parent
560faaa7be
commit
848f3d13ca
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue