Fix resource leak

This commit is contained in:
Victor Shcherb 2015-11-18 15:52:15 +01:00
parent a7a3cc733e
commit cc10aefa53

View file

@ -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();