[fpc-pascal] Two versions of freemem() - are they equal

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Dec 30 23:54:51 CET 2020


Hi,

Do both these method yield the same result, or is one better (performance,
safer?) that the other?


procedure FreeMem(p:pointer;Size:ptruint);
procedure FreeMem(p:pointer);


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the fpc-pascal mailing list