diff --git a/lib/mm/pool-debug.c b/lib/mm/pool-debug.c index 2d210172e..f16c03e8e 100644 --- a/lib/mm/pool-debug.c +++ b/lib/mm/pool-debug.c @@ -151,6 +151,7 @@ void *pool_end_object(struct pool *p) { assert(p->object); p->object = 0; + return &p->tail->data; } void pool_abandon_object(struct pool *p)