Closes #4163
git-svn-id: http://svn.osgeo.org/postgis/trunk@16710
b70326c6-7e19-0410-871a-
916f4a2858ee
PostGIS 3.0.0
2019/xx/xx
-* Enhancements *
+* Enhancements and fixes *
- #4153, ST_Segmentize now splits segments proportionally (Darafei
Praliaskouski).
- #4162, ST_DWithin documentation examples for storing geometry and
radius in table (Darafei Praliaskouski, github user Boscop).
+ - #4163, MVT: Fix resource leak when the first geometry is NULL (Raúl Marín)
PostGIS 2.5.0rc1
2018/08/19
ctx->bool_values_hash = NULL;
ctx->values_hash_i = 0;
ctx->keys_hash_i = 0;
+ ctx->geom_index = UINT32_MAX;
memset(&ctx->column_cache, 0, sizeof(ctx->column_cache));
POSTGIS_DEBUGF(3, "mvt_agg_transfn new_capacity: %zd", new_capacity);
}
- if (layer->n_features == 0)
+ if (ctx->geom_index == UINT32_MAX)
parse_column_keys(ctx);
datum = GetAttributeByNum(ctx->row, ctx->geom_index + 1, &isnull);