Commit a3cb1774 authored by charras's avatar charras

try to fix seg fault when generating netlist

parent c4edb215
......@@ -728,6 +728,8 @@ static void EraseDuplicatePins( NETLIST_OBJECT_LIST& aPinList )
int idxref = ii;
for( unsigned jj = ii + 1; jj < aPinList.size(); jj++ )
{
if ( aPinList[jj] == NULL ) // Already removed
continue;
if( aPinList[idxref]->m_PinNum != aPinList[jj]->m_PinNum )
break;
if ( aPinList[idxref]->m_FlagOfConnection == PAD_CONNECT )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment