Browse Source

router: fix use-after-free crash in drag walkaround mode

newinvert
Tomasz Wlostowski 2 years ago
parent
commit
15db42d9c8
  1. 1
      pcbnew/router/pns_dragger.cpp

1
pcbnew/router/pns_dragger.cpp

@ -754,6 +754,7 @@ bool DRAGGER::Drag( const VECTOR2I& aP )
if( m_lastNode )
{
delete m_lastNode;
m_draggedItems.Clear();
m_lastNode = nullptr;
}
}

Loading…
Cancel
Save