Skip to content
Snippets Groups Projects
Commit 84af9222 authored by Gareth Reakes's avatar Gareth Reakes
Browse files

use correct new.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175281 13f79535-47bb-0310-9956-ffa450edef68
parent df36117b
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
/* /*
* $Log$ * $Log$
* Revision 1.13 2003/10/16 09:21:53 gareth
* use correct new.
*
* Revision 1.12 2003/10/14 15:22:28 peiyongz * Revision 1.12 2003/10/14 15:22:28 peiyongz
* Implementation of Serialization/Deserialization * Implementation of Serialization/Deserialization
* *
...@@ -532,7 +535,7 @@ void SchemaElementDecl::serialize(XSerializeEngine& serEng) ...@@ -532,7 +535,7 @@ void SchemaElementDecl::serialize(XSerializeEngine& serEng)
for (int itemIndex = 0; itemIndex < itemNumber; itemIndex++) for (int itemIndex = 0; itemIndex < itemNumber; itemIndex++)
{ {
SchemaAttDef* data = new SchemaAttDef(); SchemaAttDef* data = new (getMemoryManager())SchemaAttDef();
data->serialize(serEng); data->serialize(serEng);
fAttDefs->put(data->getAttName()->getLocalPart(), data->getId(), data); fAttDefs->put(data->getAttName()->getLocalPart(), data->getId(), data);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment