Heaptrc suggestion: not show information when no memory leaks occured
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
When I debug a LCL application with heaptrc enabled, there is the dialog box shown also when no memory leaks occurred (see attachment). I personally am interested in the output only when there is a memory leak and I have to do something.
It's quite tiresome to close the heaptrc dialog every time I finish debugging a program.
I suggest to show the output only when memory leaks occurred. (Btw. this is also Delphi behavior.)
Steps to reproduce:
1.) Create an empty LCL application.
2.) Set build mode to "Debug".
3.) Run and close the program. You'll see the heaptrc dialog.
Additional information:
I made a fast&dirty patch that is attached.
Mantis conversion info:
- Mantis ID: 28578
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 31434 (#1fd27351)
- Target version: 3.2.0