Re: Memory Leak with AnsiString
From: Rudy Velthuis [TeamB] (velthuis_at_gmail.com)
Date: 01/07/05
- Next message: John Herbster: "Re: Do you think Borland will release a new Win32 only version of Delphi"
- Previous message: JED: "Re: Unicode Support"
- In reply to: Michael Anonymous: "Re: Memory Leak with AnsiString"
- Next in thread: Michael Anonymous: "Re: Memory Leak with AnsiString"
- Reply: Michael Anonymous: "Re: Memory Leak with AnsiString"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 7 Jan 2005 12:28:31 +0100
Michael Anonymous wrote:
> The more intuitive function didn't work and caused memory leaks.
It worked very well and it didn't cause memory leaks at all. The
treatment of global variables by the runtime code did, but that is IMO
no reason to always use a procedure with a var parameter.
Otherwise one could never write functions returning a string anymore.
Something so fundamental would make Delphi rather flawed.
-- Rudy Velthuis [TeamB] http://rvelthuis.bei.t-online.de "It is time I stepped aside for a less experienced and less able man." - Professor Scott Elledge on his retirement from Cornell
- Next message: John Herbster: "Re: Do you think Borland will release a new Win32 only version of Delphi"
- Previous message: JED: "Re: Unicode Support"
- In reply to: Michael Anonymous: "Re: Memory Leak with AnsiString"
- Next in thread: Michael Anonymous: "Re: Memory Leak with AnsiString"
- Reply: Michael Anonymous: "Re: Memory Leak with AnsiString"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|