Loading pcbnew/tools/drawing_tool.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1006,6 +1006,8 @@ int DRAWING_TOOL::drawZone( bool aKeepout ) m_frame->OnModify(); m_frame->OnModify(); m_frame->SaveCopyInUndoList( zone, UR_NEW ); m_frame->SaveCopyInUndoList( zone, UR_NEW ); zone = NULL; } } else else delete zone; delete zone; Loading Loading
pcbnew/tools/drawing_tool.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1006,6 +1006,8 @@ int DRAWING_TOOL::drawZone( bool aKeepout ) m_frame->OnModify(); m_frame->OnModify(); m_frame->SaveCopyInUndoList( zone, UR_NEW ); m_frame->SaveCopyInUndoList( zone, UR_NEW ); zone = NULL; } } else else delete zone; delete zone; Loading