Free memory in meshcalc.c.