Fix a memleak in Footprint Library Table Wizard
This commit is contained in:
parent
8c4874866a
commit
9b7d499c51
|
@ -166,7 +166,7 @@ bool WIZARD_FPLIB_TABLE::LIBRARY::Test()
|
|||
return false;
|
||||
}
|
||||
|
||||
PLUGIN* p = IO_MGR::PluginFind( *m_plugin );
|
||||
std::unique_ptr<PLUGIN> p( IO_MGR::PluginFind( *m_plugin ) );
|
||||
wxArrayString footprints;
|
||||
|
||||
if( !p )
|
||||
|
|
Loading…
Reference in New Issue