[cpp-sp COMMIT] in /branches/REL_2/shibsp: attribute/filtering/impl/AttributeScopeRegexFunctor.cpp attribute/filterin...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Sep 12 17:39:30 BST 2011
Author: scantor
Date: Mon Sep 12 17:39:29 2011
New Revision: 3516
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3516&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-392
Modified:
branches/REL_2/shibsp/attribute/filtering/impl/AttributeScopeRegexFunctor.cpp
branches/REL_2/shibsp/attribute/filtering/impl/AttributeValueRegexFunctor.cpp
branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp
Modified: branches/REL_2/shibsp/attribute/filtering/impl/AttributeScopeRegexFunctor.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/attribute/filtering/impl/AttributeScopeRegexFunctor.cpp?rev=3516&r1=3515&r2=3516&view=diff
==============================================================================
--- branches/REL_2/shibsp/attribute/filtering/impl/AttributeScopeRegexFunctor.cpp (original)
+++ branches/REL_2/shibsp/attribute/filtering/impl/AttributeScopeRegexFunctor.cpp Mon Sep 12 17:39:29 2011
@@ -70,6 +70,10 @@
}
}
+ virtual ~AttributeScopeRegexFunctor() {
+ delete m_regex;
+ }
+
bool evaluatePolicyRequirement(const FilteringContext& filterContext) const {
if (m_attributeID.empty())
throw AttributeFilteringException("No attributeID specified.");
Modified: branches/REL_2/shibsp/attribute/filtering/impl/AttributeValueRegexFunctor.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/attribute/filtering/impl/AttributeValueRegexFunctor.cpp?rev=3516&r1=3515&r2=3516&view=diff
==============================================================================
--- branches/REL_2/shibsp/attribute/filtering/impl/AttributeValueRegexFunctor.cpp (original)
+++ branches/REL_2/shibsp/attribute/filtering/impl/AttributeValueRegexFunctor.cpp Mon Sep 12 17:39:29 2011
@@ -72,6 +72,10 @@
}
}
+ virtual ~AttributeValueRegexFunctor() {
+ delete m_regex;
+ }
+
bool evaluatePolicyRequirement(const FilteringContext& filterContext) const {
if (m_attributeID.empty())
throw AttributeFilteringException("No attributeID specified.");
Modified: branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp?rev=3516&r1=3515&r2=3516&view=diff
==============================================================================
--- branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp (original)
+++ branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp Mon Sep 12 17:39:29 2011
@@ -963,7 +963,9 @@
}
}
- auto_ptr_char key(SAMLConfig::getConfig().generateIdentifier());
+ XMLCh* widekey = SAMLConfig::getConfig().generateIdentifier();
+ auto_ptr_char key(widekey);
+ XMLString::release(&widekey);
// Store session properties in DDF.
DDF obj = DDF(key.get()).structure();
More information about the commits
mailing list