← Back to team overview

kicad-developers team mailing list archive

Uninitialised ZONE_CONTAINER members

 

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


Follow ups