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

Merge branch 'fix_aidge195_forgotten_delete_memleak' into 'hotfix'

fix direct leak from forgotten call to 'delete'

See merge request !228
parents 81293b42 cb276c5c
No related branches found
No related tags found
4 merge requests!280Fix Scheduler::StaticSchedulingElement shared_ptr circular reference,!248Draft: [Add] MulPTQ and ScalingMeta MetaOperators,!229Version 0.3.1,!228fix direct leak from forgotten call to 'delete'
Pipeline #57390 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