On 4/12/2014 8:24 AM, Michael Van Canneyt wrote:
Attached is an implementation that allows you to specify:

What to do when allocating memory (zero out, randomize, nothing)
What to do when freeing memory (zero out, randomize, nothing).

very nice! thank you sir! i'm still learning FPC and all its fancy (to me compared to TP/BP) features :)

Careful, it does not play well with the heaptrc unit.

why is that? is there a way to fix it? i do use the heaptrc unit to try to ensure that i'm not leaving stuff behind...

If there is an interest in such thing, we can add it to the RTL.

as miniscule as it is compared with others', here's my vote in the positive ;)

--
NOTE: No off-list assistance is given without prior approval.
      Please keep mailing list traffic on the list unless
      private contact is specifically requested and granted.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to