diff --git a/lib/mempool.c b/lib/mempool.c index 9319859d..b2c8862c 100644 --- a/lib/mempool.c +++ b/lib/mempool.c @@ -143,6 +143,11 @@ lp_free(resource *r) c = d->next; xfree(d); } + for(d=m->first_large; d; d = c) + { + c = d->next; + xfree(d); + } } void