From 194b3084aef88317396d02f86b1e818bb08a7bc3 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 19 Apr 2019 10:45:01 +0200 Subject: [PATCH] Add a missing input.close() when an exception happens. --- .../jnus/implementations/wud/reader/WUDDiscReaderCompressed.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReaderCompressed.java b/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReaderCompressed.java index 3928d3d..d64122f 100644 --- a/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReaderCompressed.java +++ b/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReaderCompressed.java @@ -79,6 +79,7 @@ public class WUDDiscReaderCompressed extends WUDDiscReader { if (e.getMessage().equals("Pipe closed")) { break; } else { + input.close(); throw e; } }