diff options
author | cyBerta <cyberta@riseup.net> | 2024-06-28 00:00:10 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2024-06-28 00:00:10 +0200 |
commit | f92cd5bb0314f44112a05d5cc9244660542ee358 (patch) | |
tree | 9d00c181a231a3f99790652b3f8d4730b772d26d /app/src/main | |
parent | a4d6007813f61b8f1c20a19bc23800a54624b6af (diff) |
fix memory leak in UpdateDownloadManager
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/utils/FileHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/utils/FileHelper.java b/app/src/main/java/se/leap/bitmaskclient/base/utils/FileHelper.java index f1d86876..9d29911b 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/utils/FileHelper.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/utils/FileHelper.java @@ -70,7 +70,7 @@ public class FileHelper { } reader.close(); return sb.toString(); - } catch (IOException errabi) { + } catch (NullPointerException | IOException errabi) { return null; } } |