From 8b4f21d06d3428a5d7e84a7624b146e26da1ff80 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 14 Oct 2012 17:11:33 -0400 Subject: [PATCH] fixed warnings or some such. --- kona/src/org/feistymeow/networking/BasicWebServer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/kona/src/org/feistymeow/networking/BasicWebServer.java b/kona/src/org/feistymeow/networking/BasicWebServer.java index 8e6685a9..b85896f6 100644 --- a/kona/src/org/feistymeow/networking/BasicWebServer.java +++ b/kona/src/org/feistymeow/networking/BasicWebServer.java @@ -223,6 +223,7 @@ public class BasicWebServer while ((n = f.read(a)) > 0) out.write(a, 0, n); logger.debug("wrote file back for request, closing stream."); + f.close(); out.close(); } catch (FileNotFoundException x) { logger.error("failed to find requested file: " + filename); -- 2.34.1