Why do you call it a memory leak? If you have 1000 vertices in your boundary, you will have 1000 MCoordinate instances in memory.