pcbnew: Fix memory leak in Eagle importer

unqiue_ptr release creates a memory leak unless the returned pointer is
freed.
This commit is contained in:
Seth Hillbrand 2018-10-07 14:55:20 -07:00
parent d2906f7975
commit 45d438cd13
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ BOARD* EAGLE_PLUGIN::Load( const wxString& aFileName, BOARD* aAppendToMe, const
centerBoard();
deleter.release();
deleter.reset();
return m_board;
}