Fix resource leak
This commit is contained in:
parent
a7a3cc733e
commit
cc10aefa53
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ public class Amenity extends MapObject {
|
||||||
while ((s = br.readLine()) != null) {
|
while ((s = br.readLine()) != null) {
|
||||||
bld.append(s);
|
bld.append(s);
|
||||||
}
|
}
|
||||||
|
br.close();
|
||||||
str = bld.toString();
|
str = bld.toString();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Reference in a new issue