diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-11-08 17:42:15 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-11-08 17:42:15 +0100 |
commit | 18e515511f45c115acbed2dc40dd1895b2ea6890 (patch) | |
tree | b67606a59dcf220e027ecc3963742bf767caf233 /sys | |
parent | f4ec9a67e8c9e8a7386feaee152253082891e294 (diff) |
acidleak: show free blocks as free (leak -b)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/src/cmd/aux/acidleak.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/src/cmd/aux/acidleak.c b/sys/src/cmd/aux/acidleak.c index 44eec30af..80d519bba 100644 --- a/sys/src/cmd/aux/acidleak.c +++ b/sys/src/cmd/aux/acidleak.c @@ -305,7 +305,9 @@ main(int argc, char **argv) else nhdr++; } - if(b->mark == 0 && !b->free) + if(b->free) + continue; + if(b->mark == 0) nleak++; nb++; } |