mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-02 01:08:14 +00:00
Fix double-close of top level geometry file
This commit is contained in:
parent
97d65e6b7d
commit
a8b2db8d5a
@ -765,9 +765,9 @@ void read_json(FILE *f, const char *fname, const char *layername, int maxzoom, i
|
||||
perror("munmap meta");
|
||||
}
|
||||
|
||||
close(geomfd);
|
||||
close(metafd);
|
||||
|
||||
if (close(metafd) < 0) {
|
||||
perror("close meta");
|
||||
}
|
||||
|
||||
double minlat = 0, minlon = 0, maxlat = 0, maxlon = 0, midlat = 0, midlon = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user