diff --git a/OsmAnd-java/src/net/osmand/data/Amenity.java b/OsmAnd-java/src/net/osmand/data/Amenity.java index d077605839..6401618e84 100644 --- a/OsmAnd-java/src/net/osmand/data/Amenity.java +++ b/OsmAnd-java/src/net/osmand/data/Amenity.java @@ -91,6 +91,7 @@ public class Amenity extends MapObject { while ((s = br.readLine()) != null) { bld.append(s); } + br.close(); str = bld.toString(); } catch (IOException e) { e.printStackTrace();