[cpp-opensaml COMMIT] /branches/REL_2/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp

noreply at shibboleth.net noreply at shibboleth.net
Tue Jul 24 11:09:24 EDT 2012


Author: scantor
Date: Tue Jul 24 11:09:24 2012
New Revision: 739

URL: http://svn.shibboleth.net/view/cpp-opensaml?rev=739&view=rev
Log:
Fix a cleanup bug in a single threaded case

Modified:
    branches/REL_2/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp

Modified: branches/REL_2/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp
URL: http://svn.shibboleth.net/view/cpp-opensaml/branches/REL_2/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp?rev=739&r1=738&r2=739&view=diff
==============================================================================
--- branches/REL_2/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp (original)
+++ branches/REL_2/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp Tue Jul 24 11:09:24 2012
@@ -209,6 +209,7 @@
 
 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<tracker_t>());
 }
 



More information about the commits mailing list