Fixed ratsnest related segfaults on BOARD destruction.
This commit is contained in:
parent
9ef713dfa8
commit
e6a01e5a41
|
@ -110,14 +110,14 @@ BOARD::BOARD() :
|
|||
|
||||
BOARD::~BOARD()
|
||||
{
|
||||
delete m_ratsnest;
|
||||
|
||||
while( m_ZoneDescriptorList.size() )
|
||||
{
|
||||
ZONE_CONTAINER* area_to_remove = m_ZoneDescriptorList[0];
|
||||
Delete( area_to_remove );
|
||||
}
|
||||
|
||||
delete m_ratsnest;
|
||||
|
||||
m_FullRatsnest.clear();
|
||||
|
||||
m_LocalRatsnest.clear();
|
||||
|
|
Loading…
Reference in New Issue