summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard
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
commita62bd28e1f53c10eb11570ccf5dfccec8d479a1e (patch)
treed74b5145161ad9af0ec3f05b760bd61e58867ee1 /app/src/main/java/com/wireguard
parentda1188c6ee877ffe9c8c5fe9ebea7f53f5c462d8 (diff)
SharedLibraryLoader: Fix leaked Closeable warning
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/java/com/wireguard')
-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 428c5a23..93e44b64 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;
}
}