mercurial/ui.py
branchstable
changeset 15407 ee112eb69d2a
parent 15089 bfe903b1ff4e
child 15919 69e792cf7851
--- a/mercurial/ui.py	Tue Nov 01 15:37:00 2011 -0500
+++ b/mercurial/ui.py	Thu Nov 03 11:24:55 2011 -0500
@@ -79,6 +79,7 @@
 
         try:
             cfg.read(filename, fp, sections=sections, remap=remap)
+            fp.close()
         except error.ConfigError, inst:
             if trusted:
                 raise