1
This commit is contained in:
1 parent
c57f94f38d
commit
4e2b1c0c01
2 files changed
+14
-17
No files matched your search
+2
-1
@@ -89,7 +89,8 @@ void memory_pool_destroy(struct memory_pool* pool) {
|
||||
obj = next;
|
||||
}
|
||||
|
||||
DEBUG_INFO(DEBUG_CATEGORY_MEMORY, "pool_destroy: allocations=%zu, reuse=%zu, current pool size=%d", pool->allocations, pool->reuse_count, cnt);
|
||||
// if (cnt>MEMORY_POOL_MAX_FREE)
|
||||
DEBUG_ERROR(DEBUG_CATEGORY_MEMORY, "pool_destroy: allocations=%zu, reuse=%zu, current pool size=%d", pool->allocations, pool->reuse_count, cnt);
|
||||
|
||||
pool->free_head = NULL;
|
||||
pool->free_count = 0;
|
||||
|
||||
Reference in new issue
Block a user