[fpc-pascal] Sharing dynamic arrays between threads

Wimpie Nortje wimpienortje at gmail.com
Fri Feb 25 14:13:24 CET 2011


> Calling dispose() on a record with a dynamic array field will free the
> array (and recursively finalize all its elements) as long as the
> pointer on which you call it is correctly typed in the source code.
> The fact that you still get memory leaks after everything you are
> doing suggests that something else is wrong in your program.
>
Thank you.



More information about the fpc-pascal mailing list