← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fix resource leak in chamfer test

 

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 correctly. So this
> uses a unique_ptr to make the ownership explicit.
> 
> Fixes coverity defect 183869.
> 
> Cheers,
> 
> John
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


References