Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
3293645c
Unverified
Commit
3293645c
authored
Jul 07, 2022
by
Evezerest
Committed by
GitHub
Jul 07, 2022
Browse files
Merge pull request #6677 from TonyJiangWJ/release/2.5
修复内存泄露问题
parents
1d72c9e8
de10257e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java
...va/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java
+1
-1
No files found.
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java
View file @
3293645c
...
...
@@ -54,7 +54,7 @@ public class OCRPredictorNative {
}
public
void
destory
()
{
if
(
nativePointer
>
0
)
{
if
(
nativePointer
!=
0
)
{
release
(
nativePointer
);
nativePointer
=
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment