Fix a subtle memory reference error in triangle
Fix a subtle memory reference error in triangle

Transfer memory references after calling triangulate.

erdc/proteus,erdc/proteus,erdc/proteus,erdc/proteus