From c542fb87cb7c5ff7146c0853328189a5a1ebbb6d Mon Sep 17 00:00:00 2001 From: AsamK Date: Sat, 26 Nov 2016 12:44:17 +0100 Subject: [PATCH] Add missing close of attachment input stream --- src/main/java/org/asamk/signal/Manager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/asamk/signal/Manager.java b/src/main/java/org/asamk/signal/Manager.java index b16c8eae..ee5aeeb3 100644 --- a/src/main/java/org/asamk/signal/Manager.java +++ b/src/main/java/org/asamk/signal/Manager.java @@ -1320,6 +1320,7 @@ class Manager implements Signal { if (output != null) { output.close(); } + input.close(); if (!tmpFile.delete()) { System.err.println("Failed to delete temp file: " + tmpFile); }