[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-122-g7731a94c4
git at osgeo.org
git at osgeo.org
Wed Sep 21 10:06:09 PDT 2022
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 7731a94c4a7659a48f05363662214e9fa9e79c8c (commit)
via 0a9143fe9d3726e96ab362c629d1bc852642db0f (commit)
from 312f2091bce81d9fdb95d888f617dd186c4108f4 (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 7731a94c4a7659a48f05363662214e9fa9e79c8c
Merge: 0a9143fe9 312f2091b
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Wed Sep 21 10:05:59 2022 -0700
Merge branch 'master' of https://git.osgeo.org/gitea/postgis/postgis
commit 0a9143fe9d3726e96ab362c629d1bc852642db0f
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Wed Sep 21 10:04:20 2022 -0700
Replace malloc with lwalloc
diff --git a/liblwgeom/lwgeom_sfcgal.c b/liblwgeom/lwgeom_sfcgal.c
index d49d3f93a..f9541a48b 100644
--- a/liblwgeom/lwgeom_sfcgal.c
+++ b/liblwgeom/lwgeom_sfcgal.c
@@ -45,8 +45,10 @@ lwgeom_sfcgal_full_version()
#if POSTGIS_SFCGAL_VERSION >= 10400
const char *version = sfcgal_full_version();
#else
- char *version = (char*)malloc(MAX_LENGTH_SFCGAL_FULL_VERSION);
- snprintf(version, MAX_LENGTH_SFCGAL_FULL_VERSION, "SFCGAL=\"%s\" CGAL=\"Unknown\" Boost=\"Unknown\"", sfcgal_version());
+ char *version = (char*)lwalloc(MAX_LENGTH_SFCGAL_FULL_VERSION);
+ snprintf(version, MAX_LENGTH_SFCGAL_FULL_VERSION,
+ "SFCGAL=\"%s\" CGAL=\"Unknown\" Boost=\"Unknown\"",
+ sfcgal_version());
#endif
return version;
}
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/lwgeom_sfcgal.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list