Coverity #1321243, #1321246, #1321242, #1321236, #1321239, #1321238, #1097871, #13212...
[scilab.git] / scilab / modules / elementary_functions / sci_gateway / cpp / sci_sum.cpp
index 462ba3a..0d87ffc 100644 (file)
@@ -120,12 +120,6 @@ types::Function::ReturnValue sci_sum(types::typed_list &in, int _iRetCount, type
         {
             std::wstring wstFuncName = L"%" + in[0]->getShortTypeStr() + L"_sum";
             types::Function::ReturnValue ret = Overload::call(wstFuncName, in, _iRetCount, out);
-
-            if (isCopy && pDblIn)
-            {
-                pDblIn->killMe();
-            }
-
             return ret;
         }
     }