summaryrefslogtreecommitdiff
path: root/lib/mempool.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2014-04-23 13:52:15 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2014-04-23 13:52:15 +0200
commit4dd24f05f384ac14546d4bebbfcb0ecf9a976ec6 (patch)
tree2750238d0577b03f159f8f35c20540b40aa581df /lib/mempool.c
parent1cb0f83d291d9bb3da06067bc2ea838238d5c487 (diff)
parent6c6ebd64c3e44a2658a7ae8729159f1653c00a89 (diff)
Merge commit 'origin/master'
Diffstat (limited to 'lib/mempool.c')
-rw-r--r--lib/mempool.c2
1 files changed, 1 insertions, 1 deletions
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;
}