Revert "revert delete of macro body" 76/14876/1
Clément DAVID [Wed, 16 Jul 2014 14:10:09 +0000 (16:10 +0200)]
This reverts commit 673a1c055302e129a8656951053a02f24d64a731.

Change-Id: I691af63c687f17ea3e594e0639a24b30f1ed278b

scilab/modules/ast/src/cpp/types/macro.cpp

index dd2c625..ef3c4eb 100644 (file)
@@ -54,7 +54,7 @@ Macro::Macro(const std::wstring& _stName, std::list<symbol::Variable*>& _inputAr
 
 Macro::~Macro()
 {
-    //delete m_body;
+    delete m_body;
     m_pDblArgIn->DecreaseRef();
     m_pDblArgIn->killMe();
     m_pDblArgOut->DecreaseRef();