summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/mempool.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mempool.c b/lib/mempool.c
index 9319859..b2c8862 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