From a62bd28e1f53c10eb11570ccf5dfccec8d479a1e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 15 Feb 2020 18:53:30 +0530 Subject: [PATCH] SharedLibraryLoader: Fix leaked Closeable warning Signed-off-by: Harsh Shandilya --- .../java/com/wireguard/android/util/SharedLibraryLoader.java | 1 + 1 file changed, 1 insertion(+) 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; } }