Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a63bf423 authored by Johan Redestig's avatar Johan Redestig
Browse files

Plug a fd leak.

Change-Id: Ia7189e67e8a03eceaa81e13cac98f20a82a44276
parent c38bb60d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -110,6 +110,12 @@ class VoiceMailConstants {
            Log.w(LOG_TAG, "Exception in Voicemail parser " + e);
        } catch (IOException e) {
            Log.w(LOG_TAG, "Exception in Voicemail parser " + e);
        } finally {
            try {
                if (vmReader != null) {
                    vmReader.close();
                }
            } catch (IOException e) {}
        }
    }
}