Re: [Kicad-developers] [PATCH] Fix resource leak in chamfer test

2018-09-28 Thread Wayne Stambaugh
John, I merged your patch into the dev branch. Thanks, Wayne On 09/28/2018 01:07 PM, John Beard wrote: > Hi, > > Small patch here to fix a small leak in a unit test. > > While the leak is not very exciting here, the other function of unit > tests is to "document" interfaces by using them

[Kicad-developers] [PATCH] Fix resource leak in chamfer test

2018-09-28 Thread John Beard
Hi, Small patch here to fix a small leak in a unit test. While the leak is not very exciting here, the other function of unit tests is to "document" interfaces by using them correctly. So this uses a unique_ptr to make the ownership explicit. Fixes coverity defect 183869. Cheers, John From