Tools/MeshExtractor: Fix memory cleanup

Free memory created with new[] with delete[] .