summaryrefslogtreecommitdiffhomepage
path: root/app
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 /app
parent51280f093a033ba8257e0b9307d8c793aa05ab21 (diff)
SharedLibraryLoader: Fix leaked Closeable warning
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app')
-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;
}
}