Commit d18f03b5 authored by Ray Strode's avatar Ray Strode
Browse files

Add the size of the leak to the debug output

parent f848715b
......@@ -850,7 +850,7 @@ print_leaks (void)
if (blocks[i] != NULL)
{
struct block *block;
fprintf (stderr, "found leak\n");
fprintf (stderr, "found %ld byte leak\n", block->size);
block = blocks[i];
backtrace_symbols_fd (block->symbols, block->number_of_symbols, 2);
fprintf (stderr, "--\n");
......
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