← Back to team overview

kicad-developers team mailing list archive

Re: Uninitialised ZONE_CONTAINER members

 

Le 16/04/2019 à 17:59, John Beard a écrit :
> Hi,
> 
> The following members are not initialised in ZONE_CONTAINER's
> constructor, but they are accessed in the Setter functions:
> 
> * m_ThermalReliefCopperBridge
> * m_ZoneMinThickness
> 
> This was picked up with valgrind memcheck:
> 
> valgrind --tool=memcheck qa/pcbnew_tools/qa_pcbnew_tools pcb_parser
> /tmp/ciaa_acc.kicad_pcb
> 
> What would be sensible defaults here? 0?
> 
> Cheers,
> 
> John
> 

Strange: these parameters come from ZONE_SETTINGS class, and they are
initialized in the ZONE_SETTINGS ctor ( min thickness 10mil,
m_ThermalReliefCopperBridge 20mils ).


-- 
Jean-Pierre CHARRAS


Follow ups

References