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:
parent
d2906f7975
commit
45d438cd13
|
@ -293,7 +293,7 @@ BOARD* EAGLE_PLUGIN::Load( const wxString& aFileName, BOARD* aAppendToMe, const
|
|||
|
||||
centerBoard();
|
||||
|
||||
deleter.release();
|
||||
deleter.reset();
|
||||
return m_board;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue