On Mon, 5 Jul 2010 17:26:52 -0300
Marcos Douglas <m...@delfire.net> wrote:

>[...] 
> But if a remove the variable *someObj* and call like this:
> myObj.createObj; // I _removed_ the *someObj* here!!!
> 
> What will happen with the "result" variable? Is it released by the compiler?

No. This will create a mem leak.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to