diff src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java @ 246:ff4fdbab4e2d

Close file streams
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 11 Aug 2011 05:12:13 +0200
parents 4817d4ccc50e
children 3fbfce107f94
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java	Thu Jul 14 03:18:37 2011 +0200
+++ b/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java	Thu Aug 11 05:12:13 2011 +0200
@@ -379,6 +379,7 @@
 					filters.write(fb);
 					fb.compact();
 				}
+				fis.close();
 				return check.ultimatelyTheSame();
 			} catch (IOException ex) {
 				if (fis != null) {