fix objectpool release
This commit is contained in:
parent
e075a3b43b
commit
8c14aac51c
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ void objpool_release(ObjectPool *pool, ObjectInterface *object) {
|
|||
OBJ_USED(pool, object) = false;
|
||||
})
|
||||
|
||||
list_push((List**)pool->free_objects, (List*)object);
|
||||
list_push((List**)&pool->free_objects, (List*)object);
|
||||
pool->usage--;
|
||||
// log_debug("[%s] Usage: %zu", pool->tag, pool->usage);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue