From: Scott Cantor Date: Tue, 24 Jul 2012 15:09:24 +0000 (+0000) Subject: Fix a cleanup bug in a single threaded case X-Git-Tag: 2.5.0~3 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=cfbb38ce18f633e47430400f800024405e98b505 Fix a cleanup bug in a single threaded case --- diff --git a/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp b/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp index 968927e..cea88e8 100644 --- a/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp +++ b/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp @@ -209,6 +209,7 @@ ChainingMetadataProvider::ChainingMetadataProvider(const DOMElement* e) ChainingMetadataProvider::~ChainingMetadataProvider() { + m_tlsKey.reset(); // need to free this ahead of trackers in a command line case for_each(m_trackers.begin(), m_trackers.end(), xmltooling::cleanup()); }