mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Remember to close the input file after CSV parsing too
This commit is contained in:
@@ -1343,6 +1343,11 @@ int read_input(std::vector<source> &sources, char *fname, int maxzoom, int minzo
|
|||||||
|
|
||||||
parse_geocsv(sst, sources[source].file, layer, sources[layer].layer);
|
parse_geocsv(sst, sources[source].file, layer, sources[layer].layer);
|
||||||
|
|
||||||
|
if (close(fd) != 0) {
|
||||||
|
perror("close");
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
overall_offset = layer_seq[0];
|
overall_offset = layer_seq[0];
|
||||||
checkdisk(&readers);
|
checkdisk(&readers);
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user