pool.c: please valgrind

This commit is contained in:
2022-12-03 14:50:37 +01:00
parent 36f763830f
commit f003511e10

View File

@@ -153,11 +153,11 @@ void pool_destroy(pool_t *pool)
log(5, "blocks:");
# endif
list_for_each_entry_safe(block, tmp, &pool->list_blocks, list_blocks) {
list_del(&block->list_blocks);
free(block);
# ifdef DEBUG_POOL
log(5, " %p", block);
# endif
list_del(&block->list_blocks);
free(block);
}
# ifdef DEBUG_POOL
log(5, "\n");