diff options
author | Martin Mares <mj@ucw.cz> | 1999-10-02 10:55:19 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-10-02 10:55:19 +0000 |
commit | 507cb9e58b947ad8c6ad1c73706a08010d90f4cc (patch) | |
tree | 77845715c28a533033353b7705f0ceefa12d5154 /lib | |
parent | ac40c888c21c72ae7f6c3d329dd2ba5417eec009 (diff) |
Don't forget to free large blocks.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mempool.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |