diff --git a/unit_tests/operator/Test_ConstantOfShape.cpp b/unit_tests/operator/Test_ConstantOfShape.cpp index c10d97ce5fb774e051e75f051772e1cbcd41dbea..00013f86d9a7b357e409a483c80ca80cd332a17e 100644 --- a/unit_tests/operator/Test_ConstantOfShape.cpp +++ b/unit_tests/operator/Test_ConstantOfShape.cpp @@ -78,6 +78,7 @@ TEST_CASE("[core/operator] ConstantOfShape_Op(forwardDims)", for (DimSize_t i = 0; i < op->getOutput(0)->nbDims(); ++i) { CHECK(array_in[i] == op->getOutput(0)->dims().at(i)); } + delete[] array_in; } } }