!5149 memory leak repair
Merge pull request !5149 from gongdaguo/Memory_leak_repair
This commit is contained in:
commit
d173b055ac
|
@ -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