[fpc-pascal] Re: PChar -> AnsiString -> PChar = memory leak?
Graeme Geldenhuys
graemeg.lists at gmail.com
Thu Oct 29 14:11:01 CET 2009
On 29/10/2009, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
>
> ---- Without heaptrc enabled------------------------
> tmp $ ./project1
> t=hello
> Text=hello
> Text=hello world
Crap, I forgot to explain the output.
t: string;
Text: PChar
The last line is the result of Text after AppendText() was called.
AppendText() is defined like in my first posting.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list