sparseUtil test: fix memory leak in the test code implemented by user/contributor
Signed-off-by: AbdelRauf <rauf@konduit.ai>master
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…
Reference in New Issue