Permalink
Browse files

Fixed resource leak.

  • Loading branch information...
1 parent 2275f1c commit be50fd3c851d298bacad8219f6666348eb86c539 @sangupta committed Aug 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/com/sangupta/jerry/util/ZipUtils.java
@@ -83,6 +83,7 @@ public static File readFileFromZip(File tempZip, String fileName) throws FileNot
outStream.write(buf, 0, readBytes);
}
+ stream.close();
outStream.close();
return tempFile;

0 comments on commit be50fd3

Please sign in to comment.