summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-07-15 06:08:25 (GMT)
committerRay Strode <rstrode@redhat.com>2008-07-15 08:07:59 (GMT)
commitd18f03b50e17eb82abd76ebbfd23de7fa8571f11 (patch)
tree17b7bfba6b5b545dfabea2a1083e3dec8938806e
parentf848715bb633cb94d69321439ddc7a2d446688ad (diff)
downloaddbus-leak-locator.tar.gz
dbus-leak-locator.tar.xz
Add the size of the leak to the debug outputleak-locator
-rw-r--r--dbus/dbus-memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-memory.c b/dbus/dbus-memory.c
index 97a96f7..e72b1b3 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");