Pointer freeing formatting