close geojson file handle

master
Oliver Tonnhofer 2013-11-04 14:31:05 +01:00
parent 21279a941e
commit 7903a3293b
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ func NewFromGeoJsonWithBuffered(source string, buffer float64) (*Limiter, error)
if err != nil {
return nil, err
}
defer f.Close()
gj, err := geojson.NewGeoJson(f)
if err != nil {