Be more cautious about use of a null feature for bare geometries

This commit is contained in:
Eric Fischer
2018-08-08 14:17:08 -07:00
parent 98cf4d94aa
commit 19c132e79c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ void parse_json(json_feature_action *jfa, json_pull *jp) {
}
found_geometries++;
jfa->add_feature(j, false, NULL, NULL, NULL, NULL);
jfa->add_feature(j, false, NULL, NULL, NULL, j);
json_free(j);
continue;
}