[cpp-xmltooling] branch main updated: CPPXT-159 - Memory leak in version 3.2.4
Scott Cantor
cantor.2 at osu.edu
Mon Nov 27 14:04:19 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=ff699c8bc8b8779e78a493814a7fea092b9f66bc
The following commit(s) were added to refs/heads/main by this push:
new ff699c8 CPPXT-159 - Memory leak in version 3.2.4
ff699c8 is described below
commit ff699c8bc8b8779e78a493814a7fea092b9f66bc
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 27 09:04:01 2023 -0500
CPPXT-159 - Memory leak in version 3.2.4
https://shibboleth.atlassian.net/browse/CPPXT-159
---
xmltooling/XMLToolingConfig.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/xmltooling/XMLToolingConfig.cpp b/xmltooling/XMLToolingConfig.cpp
index dd5634d..936f15e 100644
--- a/xmltooling/XMLToolingConfig.cpp
+++ b/xmltooling/XMLToolingConfig.cpp
@@ -422,7 +422,9 @@ bool XMLToolingInternalConfig::init(bool deprecationSupport)
XSECPlatformUtils::Initialise();
XSECPlatformUtils::SetReferenceLoggingSink(TXFMOutputLogFactory);
m_xsecProvider.reset(new XSECProvider());
- m_xsecProvider->setDefaultURIResolver(new BlockingXSECURIResolver());
+ // Stack object used because the setter clones the input object.
+ BlockingXSECURIResolver aBlockingXSECURIResolver;
+ m_xsecProvider->setDefaultURIResolver(&aBlockingXSECURIResolver);
log.debug("XML-Security %s initialization complete", XSEC_FULLVERSIONDOT);
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list