Removed the SAFE_DELETE macro.
In most case the assignment to null was not necessary since it was easily provable that the (local) variable wouldn't have referenced after that anyway.
This commit is contained in:
@@ -168,7 +168,8 @@ EDA_DRAW_FRAME::EDA_DRAW_FRAME( wxWindow* aParent,
|
||||
|
||||
EDA_DRAW_FRAME::~EDA_DRAW_FRAME()
|
||||
{
|
||||
SAFE_DELETE( m_currentScreen );
|
||||
delete m_currentScreen;
|
||||
m_currentScreen = NULL;
|
||||
|
||||
m_auimgr.UnInit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user