summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko Živković <[email protected]>2014-12-22 15:05:55 +0000
committerMarko Živković <[email protected]>2014-12-22 15:05:55 +0000
commit781d9f845a421b7cf04c3a1344a20637ba5f9e4e (patch)
tree3089a628c648321f2035706bf4fca834019f70da
parentc306854ddc957517fdc687292965189281ff7841 (diff)
Eliminated Resource Leak comming from old XLogo
git-svn-id: https://svn.code.sf.net/p/xlogo4schools/svn/trunk@18 3b0d7934-f7ef-4143-9606-b51f2e2281fd
-rw-r--r--logo/src/xlogo/utils/Utils.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/logo/src/xlogo/utils/Utils.java b/logo/src/xlogo/utils/Utils.java
index 3182bf7..5cf549f 100644
--- a/logo/src/xlogo/utils/Utils.java
+++ b/logo/src/xlogo/utils/Utils.java
@@ -316,6 +316,7 @@ public class Utils {
sb.append("\n");
}
txt=new String(sb);
+ brd.close();
}
catch(FileNotFoundException e1){
// tentative fichier réseau