Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/0916/.1

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Don't show free blocks as leaked.
 [rsc] --rw-rw-r-- M 187561 glenda sys 5952 Sep 16 10:09 sys/src/cmd/aux/acidleak.c
	/n/sourcesdump/2005/0916/plan9/sys/src/cmd/aux/acidleak.c:271,277 - 
	/n/sourcesdump/2005/0917/plan9/sys/src/cmd/aux/acidleak.c:271,277
	  					else
	  						nhdr++;
	  				}
	- 				if(b->mark == 0)
	+ 				if(b->mark == 0 && !b->free)
	  					nleak++;
	  				nb++;
	  			}
 [sys] --rwxrwxr-x M 187561 glenda sys 69436 Sep 16 23:07 386/bin/aux/acidleak
	/sys/src/cmd/aux/acidleak.c:main


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].