From 7c4a8007255403d046d7e909f710f0b1ed1791b1 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Mon, 14 Apr 2014 12:28:30 +0200 Subject: [PATCH] Fixed bug in unused function. --- lib/mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mempool.c b/lib/mempool.c index 65072f9a..ec9854a9 100644 --- a/lib/mempool.c +++ b/lib/mempool.c @@ -250,7 +250,7 @@ lp_memsize(resource *r) cnt++; return ALLOC_OVERHEAD + sizeof(struct linpool) + - cnt * (ALLOC_OVERHEAD + sizeof(sizeof(struct lp_chunk))) + + cnt * (ALLOC_OVERHEAD + sizeof(struct lp_chunk)) + m->total + m->total_large; }