Revert "Revert "revert delete of macro body"" 77/14877/1
Clément DAVID [Wed, 16 Jul 2014 14:42:38 +0000 (16:42 +0200)]
This reverts commit 3d14b8416e42ad6bcae270cd13eeabf0fe5c7235.

Change-Id: I91f6779656abdf3fd84dd4602af26ee1a90f0110

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

index ef3c4eb..dd2c625 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();