projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f56f7
)
Mismatched new/delete.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 13 Sep 2011 00:14:02 +0000
(
00:14
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 13 Sep 2011 00:14:02 +0000
(
00:14
+0000)
xmltooling/io/AbstractXMLObjectMarshaller.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/io/AbstractXMLObjectMarshaller.cpp
b/xmltooling/io/AbstractXMLObjectMarshaller.cpp
index
51fc136
..
2fcc667
100644
(file)
--- a/
xmltooling/io/AbstractXMLObjectMarshaller.cpp
+++ b/
xmltooling/io/AbstractXMLObjectMarshaller.cpp
@@
-281,7
+281,7
@@
void AbstractXMLObjectMarshaller::marshallElementType(DOMElement* domElement) co
}
domElement->setAttributeNS(XSI_NS, xsitype, xsivalue);
if (xsivalue != typeLocalName)
-
XMLString::release(&xsivalue)
;
+
delete[] xsivalue
;
m_log.debug("adding XSI namespace to list of namespaces visibly used by XMLObject");
addNamespace(Namespace(XSI_NS, XSI_PREFIX, false, Namespace::VisiblyUsed));