96d06929ea
CPolyLine::Chamfer returns a newly allocated object. The current test of this doesn't take ownership, leading to memory leaks. Use a std::unique_ptr to: * Fix the leak, and * Document the expected semantics of the interface in the test Fixes coverity:183869