fix memory leak
Merge pull request #23 from dabingnn/mesh3d_work

Mesh3d work