diff options
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/activities/ConfigConverter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/activities/ConfigConverter.java b/main/src/main/java/de/blinkt/openvpn/activities/ConfigConverter.java index bb072ffa..8d0c5433 100644 --- a/main/src/main/java/de/blinkt/openvpn/activities/ConfigConverter.java +++ b/main/src/main/java/de/blinkt/openvpn/activities/ConfigConverter.java @@ -732,10 +732,10 @@ public class ConfigConverter extends BaseActivity implements FileSelectCallback, InputStream is = getContentResolver().openInputStream(data); doImport(is); + is.close(); if (mResult==null) return -3; - } catch (FileNotFoundException | - SecurityException se) + } catch (IOException| SecurityException se) { log(R.string.import_content_resolve_error + ":" + se.getLocalizedMessage()); |