Skip to content
Snippets Groups Projects
Commit c815b549 authored by Maxence Naud's avatar Maxence Naud
Browse files

fix direct leak from forgotten call to 'delete'

parent 69c9e213
No related branches found
No related tags found
2 merge requests!279v0.4.0,!253v0.4.0
Pipeline #57395 passed
......@@ -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;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment