Commit e6059484 authored by Kevin J. McCarthy's avatar Kevin J. McCarthy

Always print mutt_buffer_pool_free() size debug output.

So I can easily see the resulting size of the pool at the end of a
run.
parent 5de55f85
Pipeline #35009866 passed with stages
in 15 minutes and 29 seconds
......@@ -220,11 +220,10 @@ void mutt_buffer_pool_init (void)
void mutt_buffer_pool_free (void)
{
if (BufferPoolCount != BufferPoolLen)
{
dprint (1, (debugfile, "Buffer pool leak: %zu/%zu\n",
dprint (1, (debugfile,
"mutt_buffer_pool_free: %zu of %zu returned to pool\n",
BufferPoolCount, BufferPoolLen));
}
while (BufferPoolCount)
mutt_buffer_free (&BufferPool[--BufferPoolCount]);
FREE (&BufferPool);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment