Closing resource

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1744027 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/maven/shared/filtering/MultiDelimiterInterpolatorFilterReaderLineEnding.java b/src/main/java/org/apache/maven/shared/filtering/MultiDelimiterInterpolatorFilterReaderLineEnding.java
index 9cabefc..f2b8223 100644
--- a/src/main/java/org/apache/maven/shared/filtering/MultiDelimiterInterpolatorFilterReaderLineEnding.java
+++ b/src/main/java/org/apache/maven/shared/filtering/MultiDelimiterInterpolatorFilterReaderLineEnding.java
@@ -232,6 +232,7 @@
         int ch = in.read();
         if ( ch == -1 || ( ch == '\n' && !supportMultiLineFiltering ) )
         {
+            in.close();
             return ch;
         }