forked from mindspore-Ecosystem/mindspore
Memory leak repair
This commit is contained in:
parent
3a16925fa2
commit
f5fd868ba4
|
@ -119,7 +119,7 @@ kernel::LiteKernel *KernelRegistry::GetKernel(const std::vector<tensor::Tensor *
|
|||
|
||||
KernelRegistry::~KernelRegistry() {
|
||||
for (auto op_parameter : op_parameters_) {
|
||||
delete(op_parameter);
|
||||
free(op_parameter);
|
||||
}
|
||||
op_parameters_.clear();
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue