pcbnew: Fix memory leak in Eagle importer

unqiue_ptr release creates a memory leak unless the returned pointer is
freed.

(cherry picked from commit 45d438cd13)
This commit is contained in:
Seth Hillbrand 2018-10-07 14:55:20 -07:00
parent 9977d0d737
commit a5bdee747a
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;
}