Remove memory leak when importing settings for a board

This commit is contained in:
Marek Roszko 2021-02-01 19:23:07 -05:00
parent 8f4d2cf33b
commit ee2c5bb489
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ void DIALOG_BOARD_SETUP::OnAuxiliaryAction( wxCommandEvent& event )
PLUGIN::RELEASER pi( IO_MGR::PluginFind( IO_MGR::KICAD_SEXP ) ); PLUGIN::RELEASER pi( IO_MGR::PluginFind( IO_MGR::KICAD_SEXP ) );
BOARD* otherBoard = new BOARD(); BOARD* otherBoard = nullptr;
try try
{ {