Coverity #1321214, #1321215, #1321217, #1321220, #1321223, #1321224, #1321221, #13212...
[scilab.git] / scilab / modules / sparse / sci_gateway / cpp / sci_lusolve.cpp
index 1c87e19..24e50e0 100644 (file)
@@ -100,9 +100,9 @@ types::Function::ReturnValue sci_lusolve(types::typed_list &in, int _iRetCount,
         C2F(lufact1)(dbl, itemsRow, colPos, &m1, &nonZeros, fmatindex, &abstol, &reltol, &nrank, &ierr);
         fact = true;
 
-        delete dbl;
-        delete colPos;
-        delete itemsRow;
+        delete[] dbl;
+        delete[] colPos;
+        delete[] itemsRow;
     }
     else
     {