diff --git a/java/hadoop-4mc/pom.xml b/java/hadoop-4mc/pom.xml
index 7e0a7a1..b9d628a 100644
--- a/java/hadoop-4mc/pom.xml
+++ b/java/hadoop-4mc/pom.xml
@@ -14,7 +14,7 @@
com.hadoop.fourmc
hadoop-4mc
- 1.1.0
+ 1.2.0
jar
4mc
@@ -55,7 +55,7 @@
commons-logging
commons-logging
- 1.1.1
+ 1.1.3
diff --git a/java/hadoop-4mc/src/main/java/com/hadoop/compression/fourmc/FourMcInputStream.java b/java/hadoop-4mc/src/main/java/com/hadoop/compression/fourmc/FourMcInputStream.java
index 6e9fe69..a083d9b 100644
--- a/java/hadoop-4mc/src/main/java/com/hadoop/compression/fourmc/FourMcInputStream.java
+++ b/java/hadoop-4mc/src/main/java/com/hadoop/compression/fourmc/FourMcInputStream.java
@@ -205,6 +205,7 @@ public static FourMcBlockIndex readIndex(FileSystem fs, Path file) throws IOExce
buf = new byte[readTailSize];
readFully(indexIn, buf, 0, buf.length);
}
+ indexIn.close();
int startFooterOffset = readTailSize - footerSize;