mirror of
https://gitee.com/openharmony/ai_neural_network_runtime
synced 2024-12-04 05:50:44 +00:00
!221 nnrt memory leak fixed
Merge pull request !221 from wangyifan/master
This commit is contained in:
commit
fdfdb10df9
@ -1108,6 +1108,11 @@ NNExecutor::~NNExecutor()
|
||||
it.second.clear();
|
||||
}
|
||||
m_outputCreatedMem.clear();
|
||||
|
||||
if (m_executorConfig != nullptr) {
|
||||
delete m_executorConfig;
|
||||
m_executorConfig = nullptr;
|
||||
}
|
||||
}
|
||||
} // namespace NeuralNetworkRuntime
|
||||
} // namespace OHOS
|
||||
|
Loading…
Reference in New Issue
Block a user