Pass full pool list to release_address

This commit is contained in:
Martin Willi
2012-09-11 16:18:28 +02:00
parent 594c58e111
commit 28a3d5bfbd
9 changed files with 94 additions and 46 deletions
@@ -53,15 +53,15 @@ static void* testing(void *thread)
}
}
pools->destroy(pools);
/* release addresses */
for (i = 0; i < ALLOCS; i++)
{
hydra->attributes->release_address(hydra->attributes,
"test", addr[i], id[i]);
pools, addr[i], id[i]);
}
pools->destroy(pools);
/* cleanup */
for (i = 0; i < ALLOCS; i++)
{