[SCM] PostGIS branch master updated. 3.5.0-352-g7829205c5
git at osgeo.org
git at osgeo.org
Sun Jun 1 12:28:25 PDT 2025
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 7829205c550b4235fdfe9b44775e72b121b34aa8 (commit)
from 7de380c157eee47244d7adfc112c3b980b405007 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7829205c550b4235fdfe9b44775e72b121b34aa8
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Sun Jun 1 22:27:50 2025 +0300
Fix memory leak in ST_GeomFromGeoJSON
Closes https://trac.osgeo.org/postgis/ticket/5913
diff --git a/postgis/lwgeom_in_geojson.c b/postgis/lwgeom_in_geojson.c
index f5bd9b555..5f1206794 100644
--- a/postgis/lwgeom_in_geojson.c
+++ b/postgis/lwgeom_in_geojson.c
@@ -101,6 +101,7 @@ Datum geom_from_geojson(PG_FUNCTION_ARGS)
geojson = text2cstring(geojson_input);
lwgeom = lwgeom_from_geojson(geojson, &srs);
+ lwfree(geojson);
if (!lwgeom)
{
/* Shouldn't get here */
-----------------------------------------------------------------------
Summary of changes:
postgis/lwgeom_in_geojson.c | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list