projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73cf481
)
SSPCPP-118 - Fix memory leak in insert method.
author
Scott Cantor
<cantor.2@osu.edu>
Mon, 14 Jul 2008 21:14:52 +0000
(21:14 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Mon, 14 Jul 2008 21:14:52 +0000
(21:14 +0000)
https://issues.shibboleth.net/jira/browse/SSPCPP-118
shibsp/impl/StorageServiceSessionCache.cpp
patch
|
blob
|
history
diff --git
a/shibsp/impl/StorageServiceSessionCache.cpp
b/shibsp/impl/StorageServiceSessionCache.cpp
index
50e8972
..
3219085
100644
(file)
--- a/
shibsp/impl/StorageServiceSessionCache.cpp
+++ b/
shibsp/impl/StorageServiceSessionCache.cpp
@@
-936,6
+936,7
@@
void SSCache::insert(
// Store session properties in DDF.
DDF obj = DDF(key.get()).structure();
+ DDFJanitor entryobj(obj);
obj.addmember("version").integer(1);
obj.addmember("application_id").string(application.getId());
@@
-1048,6
+1049,8
@@
void SSCache::insert(
(nameid ? name.get() : "none") <<
") using (Protocol: " <<
(prot ? prot : "none") <<
+ ") from (AssertionID: " <<
+ (tokens ? obj["assertions"].first().string() : "none") <<
")";
if (attributes) {