Don’t exit early on FreeMemSize.Size = 0.
See [this topic](https://forum.lazarus.freepascal.org/index.php/topic,64073.0.html). Patch: [freememsize.patch](/uploads/c47efce5c6fa5495e57b712828e01ad2/freememsize.patch).
issue