Coverity #1321214, #1321215, #1321217, #1321220, #1321223, #1321224, #1321221, #13212...
[scilab.git] / scilab / modules / ui_data / sci_gateway / cpp / sci_editvar.cpp
index a4b2c4c..2e4c8f3 100644 (file)
@@ -99,7 +99,7 @@ void clearWrap(T ** x, int r)
         delete [] x[i];
     }
 
-    delete x;
+    delete[] x;
 }
 /*--------------------------------------------------------------------------*/
 int sci_editvar(char * fname, void* pvApiCtx)