ast: fix memleak on null() assign 12/20812/2
Clément DAVID [Wed, 6 Feb 2019 11:11:10 +0000 (12:11 +0100)]
Change-Id: I2c31d387131c1c4f19fa5cfd67ecf3cdd9afeccb

scilab/modules/ast/src/cpp/ast/run_AssignExp.hpp

index 7e351d2..c278e2d 100644 (file)
@@ -85,6 +85,7 @@ void RunVisitorT<T>::visitprivate(const AssignExp  &e)
                     }
                 }
 
+                pIT->killMe();
                 setResult(NULL);
                 CoverageInstance::stopChrono((void*)&e);
                 return;