Skip to content
Snippets Groups Projects

fix direct leak from forgotten call to 'delete'

Merged Maxence Naud requested to merge fix_aidge195_forgotten_delete_memleak into hotfix
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -78,6 +78,7 @@ TEST_CASE("[core/operator] ConstantOfShape_Op(forwardDims)",
@@ -78,6 +78,7 @@ TEST_CASE("[core/operator] ConstantOfShape_Op(forwardDims)",
for (DimSize_t i = 0; i < op->getOutput(0)->nbDims(); ++i) {
for (DimSize_t i = 0; i < op->getOutput(0)->nbDims(); ++i) {
CHECK(array_in[i] == op->getOutput(0)->dims().at(i));
CHECK(array_in[i] == op->getOutput(0)->dims().at(i));
}
}
 
delete[] array_in;
}
}
}
}
}
}
Loading