sparseUtil test: fix memory leak in the test code implemented by user/contributor
Signed-off-by: AbdelRauf <rauf@konduit.ai>
This commit is contained in:
parent
c523c4f0c7
commit
c86300373e
@ -227,6 +227,7 @@ TEST_F(SparseUtilsTest, RavelIndices_Test) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
shape[2] = 30;
|
shape[2] = 30;
|
||||||
|
delete[] shapeInfoBuffer;
|
||||||
shapeInfoBuffer = shape::shapeBuffer(rank, sd::DataType::INT64, shape);
|
shapeInfoBuffer = shape::shapeBuffer(rank, sd::DataType::INT64, shape);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user