7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-19 00:21:36 +00:00

Make sure SCH_PIN->LIB_PIN pointers get cleared

This commit is contained in:
Jon Evans 2024-02-09 08:09:19 -05:00
parent 33d93b79a3
commit 334b414826

View File

@ -350,6 +350,8 @@ void SCH_SYMBOL::UpdatePins()
if( !pin->GetAlt().IsEmpty() )
altPinMap[ pin->GetNumber() ] = pin->GetAlt();
pin->SetLibPin( nullptr );
}
m_pinMap.clear();