提交 14e7e118 编写于 作者: E Evezerest 提交者: qq_25193841

Merge pull request #6677 from TonyJiangWJ/release/2.5

修复内存泄露问题
上级 d15fca53
......@@ -54,7 +54,7 @@ public class OCRPredictorNative {
}
public void destory() {
if (nativePointer > 0) {
if (nativePointer != 0) {
release(nativePointer);
nativePointer = 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册