[cpp-xmltooling COMMIT] /branches/REL_1/xmltooling/io/AbstractXMLObjectMarshaller.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Tue Sep 13 01:14:03 BST 2011
Author: scantor
Date: Tue Sep 13 01:14:02 2011
New Revision: 908
URL: http://svn.shibboleth.net/view/cpp-xmltooling?rev=908&view=rev
Log:
Mismatched new/delete.
Modified:
branches/REL_1/xmltooling/io/AbstractXMLObjectMarshaller.cpp
Modified: branches/REL_1/xmltooling/io/AbstractXMLObjectMarshaller.cpp
URL: http://svn.shibboleth.net/view/cpp-xmltooling/branches/REL_1/xmltooling/io/AbstractXMLObjectMarshaller.cpp?rev=908&r1=907&r2=908&view=diff
==============================================================================
--- branches/REL_1/xmltooling/io/AbstractXMLObjectMarshaller.cpp (original)
+++ branches/REL_1/xmltooling/io/AbstractXMLObjectMarshaller.cpp Tue Sep 13 01:14:02 2011
@@ -281,7 +281,7 @@
}
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));
More information about the commits
mailing list