kicad/qa/shape_poly_set_refactor
John Beard 96d06929ea QA: Fix ownership of new CPolyline in qa_shape_poly_set_refactor
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
2018-09-28 14:42:55 -04:00
..
CMakeLists.txt QA: Remove obsolete fillet refactor tests 2018-08-06 12:10:48 -04:00
test_chamfer.cpp QA: Fix ownership of new CPolyline in qa_shape_poly_set_refactor 2018-09-28 14:42:55 -04:00
test_collision.cpp QA: Rename geometry to shape_poly_set_refactor 2018-07-27 08:57:43 -04:00
test_iterator.cpp QA: Rename geometry to shape_poly_set_refactor 2018-07-27 08:57:43 -04:00
test_module.cpp QA: Rename geometry to shape_poly_set_refactor 2018-07-27 08:57:43 -04:00
test_segment.cpp QA: Rename geometry to shape_poly_set_refactor 2018-07-27 08:57:43 -04:00