X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fsaml1%2Fcore%2Fimpl%2FAssertionsImpl.cpp;h=affaf2f25e3b0413fa38fcc95557765592be9cf2;hb=68c387dc9a111612ffa9919e39df006f5ba4b7c5;hp=cf7a4ee2931d2d7015f8a8a6ffdbd1d06998d809;hpb=5697d9abd4e6d149bbc6153acde26c3f0a5d4859;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml1/core/impl/AssertionsImpl.cpp b/saml/saml1/core/impl/AssertionsImpl.cpp index cf7a4ee..affaf2f 100644 --- a/saml/saml1/core/impl/AssertionsImpl.cpp +++ b/saml/saml1/core/impl/AssertionsImpl.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include #include @@ -1046,6 +1047,11 @@ namespace opensaml { const XMLCh* getID() const { return getAssertionID(); } + void releaseDOM() const { + if (getDOM()) + getDOM()->removeAttributeNS(NULL, ASSERTIONID_ATTRIB_NAME); + AbstractDOMCachingXMLObject::releaseDOM(); + } IMPL_STRING_ATTRIB(Issuer); IMPL_DATETIME_ATTRIB(IssueInstant,0); IMPL_TYPED_CHILD(Conditions);