[geos-commits] [SCM] GEOS branch master updated. 30c710a1a97b8bac64c275f56480eaf1fbb3ca04

git at osgeo.org git at osgeo.org
Tue Nov 13 12:01:06 PST 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  30c710a1a97b8bac64c275f56480eaf1fbb3ca04 (commit)
      from  8d765e4aa4c1e61b66e28de98444a72f2d5e0320 (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 30c710a1a97b8bac64c275f56480eaf1fbb3ca04
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Nov 13 12:00:37 2018 -0800

    Force destruction of xml document stub on failed loading
    to work around limitation in tinyxml2

diff --git a/tests/xmltester/XMLTester.cpp b/tests/xmltester/XMLTester.cpp
index 456837b..626ec62 100644
--- a/tests/xmltester/XMLTester.cpp
+++ b/tests/xmltester/XMLTester.cpp
@@ -398,6 +398,7 @@ XMLTester::run(const std::string &source)
     {
         std::stringstream err;
         err << "Could not load " << source << ": " << e << std::endl;
+        xml.~XMLDocument(); // Deallocates various internal pools
         throw runtime_error(err.str());
     }
 

-----------------------------------------------------------------------

Summary of changes:
 tests/xmltester/XMLTester.cpp | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list