X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fcore%2Fimpl%2FProtocols20Impl.cpp;h=a0a4599e39d183ff25f9c51fe9ade1df49510e16;hp=e1df91bc73e1fc6944e79f0d23e0659e0dad4f10;hb=98723acda4a57b5a164f658fe05c83f602fcd107;hpb=7e883488e91acd70ff83538d49e6742856959464 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)