diff src/org/tmatesoft/hg/internal/RequiresFile.java @ 246:ff4fdbab4e2d

Close file streams
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 11 Aug 2011 05:12:13 +0200
parents 71ddbf8603e8
children 981f9f50bb6c
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/RequiresFile.java	Thu Jul 14 03:18:37 2011 +0200
+++ b/src/org/tmatesoft/hg/internal/RequiresFile.java	Thu Aug 11 05:12:13 2011 +0200
@@ -57,6 +57,7 @@
 			flags += fncache ? FNCACHE : 0;
 			flags += dotencode ? DOTENCODE : 0;
 			repoImpl.setStorageConfig(revlogv1 ? 1 : 0, flags);
+			br.close();
 		} catch (IOException ex) {
 			ex.printStackTrace(); // FIXME log
 		}