mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
Clean up JSON parsing at the end of each FeatureCollection
This commit is contained in:
@@ -604,6 +604,7 @@ void parse_json(json_pull *jp, const char *reading, volatile long long *layer_se
|
||||
if (strcmp(type->string, "Feature") != 0) {
|
||||
if (strcmp(type->string, "FeatureCollection") == 0) {
|
||||
check_crs(j, reading);
|
||||
json_free(j);
|
||||
}
|
||||
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user