acidleak: show free blocks as free (leak -b)

This commit is contained in:
cinap_lenrek 2013-11-08 17:42:15 +01:00
parent f4ec9a67e8
commit 18e515511f

View file

@ -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++;
}