Hello, In the cmem unit I see that there is always some extra room allocated where the size in bytes of the requested memory block is stored. Also I noticted that this size is never really used.
While I do see the point of the field (e.g. checking for right size parameter in FreeMemSize or some other debugging functionality), I do not see why this extra memory is needed always since the calls in the C library (malloc, free, realloc, calloc) do not need this kind of information. Am I missing something here is this a bit of left-over code? -- Ewald _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel