aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-02-15 18:53:30 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-02-16 15:07:21 +0530
commit8aed51fdf78625490f10ccc658c535184848074f (patch)
treed74b5145161ad9af0ec3f05b760bd61e58867ee1
parentRecord StrictMode failures to logcat (diff)
downloadwireguard-android-master.tar.xz
wireguard-android-master.zip
SharedLibraryLoader: Fix leaked Closeable warningHEADmaster
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java b/app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java
index 428c5a2..93e44b6 100644
--- a/app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java
+++ b/app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java
@@ -56,6 +56,7 @@ public final class SharedLibraryLoader {
}
out.getFD().sync();
}
+ zipFile.close();
return true;
}
}