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 |
||
---|---|---|
.. | ||
common | ||
data | ||
pcb_test_window | ||
polygon_generator | ||
polygon_triangulation | ||
qa_utils | ||
shape_poly_set_refactor | ||
testcases | ||
CMakeLists.txt | ||
test.py |