[fpc-pascal]FPC Problem with reAllocMem...

James Mills prologic at prologitech.com
Tue Feb 11 05:17:18 CET 2003


Another interesting thing to note as well which I think is rather
strange...

if you change in datanicks.pas lien 65,
reAllocMem(nicks, sizeOf(TNick) * nNicks);
to
getMem(nicks, sizeOf(TNick) * nNicks);

It will crash the same way as before, but at the 5th call of addNick

cheers
James




More information about the fpc-pascal mailing list