projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
First cut at signing support.
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
util
/
XMLObjectChildrenList.h
diff --git
a/xmltooling/util/XMLObjectChildrenList.h
b/xmltooling/util/XMLObjectChildrenList.h
index
dd90a19
..
9de1579
100644
(file)
--- a/
xmltooling/util/XMLObjectChildrenList.h
+++ b/
xmltooling/util/XMLObjectChildrenList.h
@@
-238,6
+238,8
@@
namespace xmltooling {
removeParent(*_Where);
if (m_list)
removeChild(*_Where);
+ else
+ delete *_Where.m_iter;
return m_container.erase(_Where.m_iter);
}
@@
-246,6
+248,8
@@
namespace xmltooling {
removeParent(*i);
if (m_list)
removeChild(*i);
+ else
+ delete *i.m_iter;
}
return m_container.erase(_First,_Last);
}