[postgis-tickets] [SCM] PostGIS branch stable-3.2 updated. 3.2.4-8-g7c5bf6f61

git at osgeo.org git at osgeo.org
Thu Feb 16 22:52:32 PST 2023


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, stable-3.2 has been updated
       via  7c5bf6f61a8cc063b2bc022d0ad0f67e509d69bd (commit)
      from  0239850ba81e57240b70b0433d755d6b9091db0e (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 7c5bf6f61a8cc063b2bc022d0ad0f67e509d69bd
Author: Regina Obe <lr at pcorp.us>
Date:   Fri Feb 17 01:48:17 2023 -0500

    Free lwgeom
    Closes #5320
    Closes #5315
    Closes #5318
    for PostGIS 3.2.5

diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index 203fbb70b..75d99c847 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -394,6 +394,7 @@ Datum ST_MaximumInscribedCircle(PG_FUNCTION_ARGS)
 			lwpgerror("Geometry contains invalid coordinates");
 			PG_RETURN_NULL();
 		}
+		lwgeom_free(lwg);
 
 		if (!gserialized_get_gbox_p(geom, &gbox))
 			PG_RETURN_NULL();
@@ -1007,6 +1008,7 @@ Datum buffer(PG_FUNCTION_ARGS)
 		lwpgerror("Geometry contains invalid coordinates");
 		PG_RETURN_NULL();
 	}
+	lwgeom_free(lwg);
 
 	initGEOS(lwpgnotice, lwgeom_geos_error);
 

-----------------------------------------------------------------------

Summary of changes:
 postgis/lwgeom_geos.c | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list