Freeheightmap now takes a heightmap pointer pointer, so it can explicitly null the caller's heightmap pointer
?