Index: Property.java
===================================================================
RCS file: /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Property.java,v
retrieving revision 1.17
diff -u -r1.17 Property.java
--- Property.java	2000/09/27 15:08:53	1.17
+++ Property.java	2000/10/02 09:04:31
@@ -147,8 +147,15 @@
         Properties props = new Properties();
         log("Loading " + file.getAbsolutePath(), Project.MSG_VERBOSE);
         try {
-            if (file.exists()) {
-                props.load(new FileInputStream(file));
+            if (file.exists()) { 
+                FileInputStream fis = new FileInputStream(file);
+                try { 
+                    props.load(fis);
+                } finally {
+                    if (fis != null) { 
+                        fis.close();
+                    }
+                }
                 addProperties(props);
             } else {
                 log("Unable to find " + file.getAbsolutePath(), 
