mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
Fix double-close of top level geometry file
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user