From 52cacd61834e6f448b8904bfa52c4a5a402e8698 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 24 Jul 2009 15:00:10 +0000 Subject: [PATCH] add number of bytes to +RTS -DS leak reports --- rts/RtsUtils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c index 3091aa1..6906619 100644 --- a/rts/RtsUtils.c +++ b/rts/RtsUtils.c @@ -110,8 +110,8 @@ shutdownAllocator(void) free(prev); if (a == NULL) return; IF_DEBUG(sanity, - debugBelch("Warning: %p still allocated at shutdown\n", - a->addr);) + debugBelch("Warning: %ld bytes at %p still allocated at shutdown\n", + a->len, a->addr);) prev = a; } } -- 1.7.10.4