Jonas Maebe wrote:
If you change the behaviour of "out" so that such parameters are no
longer finalised before the routine is entered, then the above will
cause a memory leak. You can verify this by changing the "out rec"
parameter into "var rec".
Then this is definitely not a sextopod but an octopod. (really serious
bug) The "out" should behave like "var" + referencecount and
finalization outside the procedure or function.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel