The second parameter to FreeMem is ignored by GNU Pascal and may be omitted. Memory blocks are always freed with the same size they were allocated with.
Remark: Extended Pascal Schema types provide a cleaner approach to most of the applications of GetMem and FreeMem.