diff options
author | Ray Strode <rstrode@redhat.com> | 2008-07-15 02:08:25 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2008-07-15 04:07:59 -0400 |
commit | d18f03b50e17eb82abd76ebbfd23de7fa8571f11 (patch) | |
tree | 17b7bfba6b5b545dfabea2a1083e3dec8938806e | |
parent | f848715bb633cb94d69321439ddc7a2d446688ad (diff) | |
download | dbus-leak-locator.tar.gz |
Add the size of the leak to the debug outputleak-locator
-rw-r--r-- | dbus/dbus-memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-memory.c b/dbus/dbus-memory.c index 97a96f79..e72b1b38 100644 --- a/dbus/dbus-memory.c +++ b/dbus/dbus-memory.c @@ -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"); |