Fixed mismatched new[] and delete in Mesh.cpp.