[geos-commits] [SCM] GEOS branch 3.7 updated. 6d32389b6a2950b9762932b1b1f9d0a2e0ae3d26
git at osgeo.org
git at osgeo.org
Wed Sep 18 09:40:55 PDT 2019
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 "GEOS".
The branch, 3.7 has been updated
via 6d32389b6a2950b9762932b1b1f9d0a2e0ae3d26 (commit)
via 3a0ff0fd177623228e14f1a8e5471d8d8e19b358 (commit)
via d17c10dc154bc2c5be625e2d2783e558766f6a6c (commit)
from 3e8be5b6f78961093ab7dbb5f404b20746618845 (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 6d32389b6a2950b9762932b1b1f9d0a2e0ae3d26
Merge: 3a0ff0f 3e8be5b
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Wed Sep 18 09:40:48 2019 -0700
Merge branch '3.7' of https://git.osgeo.org/gogs/geos/geos into 3.7
commit 3a0ff0fd177623228e14f1a8e5471d8d8e19b358
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Wed Sep 18 09:40:37 2019 -0700
Add news message
diff --git a/NEWS b/NEWS
index 3e0dee5..ef4b624 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ Changes in 3.7.3dev
- Bug fixes / improvements
- Union performance regression (#867, Paul Ramsey)
- Overlay performance improvement (#986, Paul Ramsey)
+ - Allocate default geometryfactory on the stack (#714)
Changes in 3.7.2
commit d17c10dc154bc2c5be625e2d2783e558766f6a6c
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Wed Sep 18 09:39:30 2019 -0700
Allocate default geometryfactory on the stack
Makes valgrind happier.
References #714
Thanks Sandro Mani
diff --git a/src/geom/GeometryFactory.cpp b/src/geom/GeometryFactory.cpp
index 896b457..a6bfa83 100644
--- a/src/geom/GeometryFactory.cpp
+++ b/src/geom/GeometryFactory.cpp
@@ -784,8 +784,8 @@ GeometryFactory::destroyGeometry(Geometry *g) const
const GeometryFactory*
GeometryFactory::getDefaultInstance()
{
- static GeometryFactory* defInstance = new GeometryFactory();
- return defInstance;
+ static GeometryFactory defInstance;
+ return &defInstance;
}
/*private*/
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
src/geom/GeometryFactory.cpp | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list