diff --git a/eeschema/sch_connection.cpp b/eeschema/sch_connection.cpp index e44b8c0d17..e783d4b66c 100644 --- a/eeschema/sch_connection.cpp +++ b/eeschema/sch_connection.cpp @@ -84,7 +84,8 @@ SCH_CONNECTION::SCH_CONNECTION( CONNECTION_GRAPH* aGraph ) : } -SCH_CONNECTION::SCH_CONNECTION( SCH_CONNECTION& aOther ) +SCH_CONNECTION::SCH_CONNECTION( SCH_CONNECTION& aOther ) : + m_parent( nullptr ) { Reset(); Clone( aOther );