[postgis-tickets] [SCM] PostGIS branch stable-3.3 updated. 3.3.2-25-g6885b9dd4

git at osgeo.org git at osgeo.org
Thu Feb 16 22:51:06 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.3 has been updated
       via  6885b9dd4f7ecbd340dcbabfc067bc3e1d91a415 (commit)
      from  bf77e55a2f125b967a691e8408daf5e96ad3e4cd (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 6885b9dd4f7ecbd340dcbabfc067bc3e1d91a415
Author: Regina Obe <lr at pcorp.us>
Date:   Fri Feb 17 01:48:17 2023 -0500

    Free lwgeom
    References #5320, #5315, #5318
    for PostGIS 3.3.3

diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index 7ff9ff68b..f4b495703 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();
@@ -982,6 +983,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