[geos-commits] [SCM] GEOS branch master updated. 93932020d371a2fc571dd9141328b751bf8f0272

git at osgeo.org git at osgeo.org
Thu Sep 20 11:28:22 PDT 2018

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, master has been updated
       via  93932020d371a2fc571dd9141328b751bf8f0272 (commit)
       via  79a5d902371a141f7f77669c5e5273fc664a2d1f (commit)
       via  907359324dd4269a9ea1ad1d3c869dce31e2ddc7 (commit)
      from  1ba1e6cba3e877d4f42525272b2c9f12b04977f8 (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 93932020d371a2fc571dd9141328b751bf8f0272
Merge: 1ba1e6c 79a5d90
Author: Daniel Baston <dbaston at gmail.com>
Date:   Thu Sep 20 14:27:45 2018 -0400

    Merge branch 'Algunenano-geometryNoder_memoryLeak'

commit 79a5d902371a141f7f77669c5e5273fc664a2d1f
Merge: 1ba1e6c 9073593
Author: Daniel Baston <dbaston at gmail.com>
Date:   Thu Sep 20 14:27:29 2018 -0400

    Merge branch 'geometryNoder_memoryLeak' of https://github.com/Algunenano/geos into Algunenano-geometryNoder_memoryLeak

commit 907359324dd4269a9ea1ad1d3c869dce31e2ddc7
Author: Raul Marin <git at rmr.ninja>
Date:   Thu Sep 20 18:39:50 2018 +0200

    Fix memory leak in getNoded
    Reference: https://trac.osgeo.org/geos/ticket/923

diff --git a/src/noding/GeometryNoder.cpp b/src/noding/GeometryNoder.cpp
index 7abc845..9e8418a 100644
--- a/src/noding/GeometryNoder.cpp
+++ b/src/noding/GeometryNoder.cpp
@@ -142,7 +142,7 @@ GeometryNoder::getNoded()
     delete elem;
   delete nodedEdges;
-  for (auto &elem : lineList)
+  for (auto &elem : p_lineList)
     delete elem;
   return noded;


Summary of changes:
 src/noding/GeometryNoder.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


More information about the geos-commits mailing list