Fix a memleak in Footprint Library Table Wizard

This commit is contained in:
Maciej Suminski 2018-01-22 10:05:58 +01:00
parent 8c4874866a
commit 9b7d499c51
1 changed files with 1 additions and 1 deletions

View File

@ -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 )