Skip to content

Commit

Permalink
Merge pull request #919 from ferredoxin/cinit-patch-1
Browse files Browse the repository at this point in the history
Fix resource leak
  • Loading branch information
cinit authored Jun 10, 2021
2 parents 1b90a17 + da1ac94 commit 7c5a85b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/cpp/libnatives/Natives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ jlong doGetBuildTimestamp(JNIEnv *env, jclass clazz) {
env->ExceptionClear();
continue;
}
env->CallVoidMethod(is, is_close);
env->ExceptionClear();
{
//parse [dex, dex+length]
if (length < 128 * 1024) {
Expand Down

0 comments on commit 7c5a85b

Please sign in to comment.