[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-631-g256dd5e0e

git at osgeo.org git at osgeo.org
Thu Feb 16 22:49:22 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, master has been updated
       via  256dd5e0e1bf8a576df6856eebf0828054d42faf (commit)
      from  a57b26210e74ab1e6a7db42c33515e505f5a046a (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 256dd5e0e1bf8a576df6856eebf0828054d42faf
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.4.0

diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index 10b088d03..f4c2d919d 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -404,6 +404,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();
@@ -992,6 +993,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