On Mon, Nov 3, 2008 at 8:17 PM, Jonas Maebe <[EMAIL PROTECTED]> wrote: >> 3) I should trace the information from the bottom line to the top line... > > It's a backtrace, like when an exception or run time error occurs. The top > line is the actual place where the allocation happened, the next is the > caller of that place, etc.
Perfect, that's what I wanted to confirm. >> 4) Why does it quote more than one line? If I allocated memory on a >> specific line, should just that line be quoted? > > I don't understand what you mean with "quote more than one line". However, > things like this: JoshyFun's explanation helped here. It's the code path (sequence) leading up to the 'allocate memory' call. Thanks both to Jonas and JoshyFun for helping out. Incidently, my application is now "leak-free". :-) I also made a note to self: "Enabled heaptrc unit for all projects while I develop! It's easier to trace the problem just after you caused it, than to try and hunt it down weeks later." Thanks guys! Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal