Remove memory leak when importing settings for a board
This commit is contained in:
parent
8f4d2cf33b
commit
ee2c5bb489
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue