From: Scott Cantor Date: Thu, 19 Aug 2010 13:51:38 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/CPPOST-49 X-Git-Tag: 2.4RC1~42 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=98723acda4a57b5a164f658fe05c83f602fcd107 https://issues.shibboleth.net/jira/browse/CPPOST-49 --- diff --git a/saml/saml2/core/impl/Assertions20Impl.cpp b/saml/saml2/core/impl/Assertions20Impl.cpp index b5031e8..aa3953f 100644 --- a/saml/saml2/core/impl/Assertions20Impl.cpp +++ b/saml/saml2/core/impl/Assertions20Impl.cpp @@ -760,7 +760,9 @@ namespace opensaml { ++m_pos_SubjectConfirmationData; } public: - virtual ~SubjectConfirmationImpl() {} + virtual ~SubjectConfirmationImpl() { + XMLString::release(&m_Method); + } SubjectConfirmationImpl(const XMLCh* nsURI, const XMLCh* localName, const XMLCh* prefix, const xmltooling::QName* schemaType) : AbstractXMLObject(nsURI, localName, prefix, schemaType) { diff --git a/saml/saml2/core/impl/Protocols20Impl.cpp b/saml/saml2/core/impl/Protocols20Impl.cpp index e1df91b..a0a4599 100644 --- a/saml/saml2/core/impl/Protocols20Impl.cpp +++ b/saml/saml2/core/impl/Protocols20Impl.cpp @@ -117,7 +117,9 @@ namespace opensaml { m_pos_StatusCode=m_children.begin(); } public: - virtual ~StatusCodeImpl() {} + virtual ~StatusCodeImpl() { + XMLString::release(&m_Value); + } StatusCodeImpl(const XMLCh* nsURI, const XMLCh* localName, const XMLCh* prefix, const xmltooling::QName* schemaType) : AbstractXMLObject(nsURI, localName, prefix, schemaType)