X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2Fsecurity%2Fimpl%2FBasicX509Credential.cpp;h=570b682d4cddb205788756fe7436c0eff1520239;hb=e5a07c9ec5959a0e65e09718991a7d57cfa962e7;hp=50da3edbcfb71c15eb26e1195450141236ecc4d7;hpb=97be1703ab43b277dbc19d3a3c358e778c99dfc0;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/security/impl/BasicX509Credential.cpp b/xmltooling/security/impl/BasicX509Credential.cpp index 50da3ed..570b682 100644 --- a/xmltooling/security/impl/BasicX509Credential.cpp +++ b/xmltooling/security/impl/BasicX509Credential.cpp @@ -37,7 +37,7 @@ BasicX509Credential::~BasicX509Credential() delete m_key; if (m_ownCerts) for_each(m_xseccerts.begin(), m_xseccerts.end(), xmltooling::cleanup()); - delete m_crl; + for_each(m_crls.begin(), m_crls.end(), xmltooling::cleanup()); delete m_keyInfo; delete m_compactKeyInfo; }