Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git] / compiler / nnc / backends / soft_backend / code_snippets / cpp_header_types.def
index 771329c..db46a1e 100644 (file)
@@ -147,7 +147,7 @@ public:
 
     if (!t._managed) {
       if (_managed)
-        delete _data;
+        delete [] _data;
 
       _managed = false;
       _data = t._data;