Commit d9bca513 authored by Libor Peltan's avatar Libor Peltan

bugfix: zone_update_clear called twice makes no harm

parent 1afeb7fc
......@@ -178,6 +178,9 @@ mp_free_big_chain(struct mempool_chunk *chunk)
void
mp_delete(struct mempool *pool)
{
if (pool == NULL) {
return;
}
DBG("Deleting mempool %p", pool);
mp_free_big_chain(pool->state.last[1]);
mp_free_chain(pool->unused);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment