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:
Lorenzo Marcantonio
2013-04-28 16:28:13 +02:00
parent 11f9f15199
commit 96dc27d9e6
10 changed files with 25 additions and 22 deletions
+2 -1
View File
@@ -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();
}