From 334b414826e00a2ad883868387e290ad3cfd1863 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Fri, 9 Feb 2024 08:09:19 -0500 Subject: [PATCH] Make sure SCH_PIN->LIB_PIN pointers get cleared --- eeschema/sch_symbol.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eeschema/sch_symbol.cpp b/eeschema/sch_symbol.cpp index 0a0bd6e3ba..a1dce4ee85 100644 --- a/eeschema/sch_symbol.cpp +++ b/eeschema/sch_symbol.cpp @@ -350,6 +350,8 @@ void SCH_SYMBOL::UpdatePins() if( !pin->GetAlt().IsEmpty() ) altPinMap[ pin->GetNumber() ] = pin->GetAlt(); + + pin->SetLibPin( nullptr ); } m_pinMap.clear();