amassari 2003/10/21 03:23:54
Modified: c/src/xercesc/validators/schema ComplexTypeInfo.cpp
c/src/xercesc/validators/DTD DTDElementDecl.cpp
Log:
When creating a new list of attributes, use the assigned memory manager
Revision Changes Path
1.15 +4 -1 xml-xerces/c/src/xercesc/validators/schema/ComplexTypeInfo.cpp
Index: ComplexTypeInfo.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/ComplexTypeInfo.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ComplexTypeInfo.cpp 17 Oct 2003 21:17:12 -0000 1.14
+++ ComplexTypeInfo.cpp 21 Oct 2003 10:23:53 -0000 1.15
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.15 2003/10/21 10:23:53 amassari
+ * When creating a new list of attributes, use the assigned memory manager
+ *
* Revision 1.14 2003/10/17 21:17:12 peiyongz
* using XTemplateSerializer
*
@@ -307,7 +310,7 @@
if (!fAttDefs)
faultInAttDefList();
- ((ComplexTypeInfo*)this)->fAttList = new (fMemoryManager)
SchemaAttDefList(fAttDefs);
+ ((ComplexTypeInfo*)this)->fAttList = new (fMemoryManager)
SchemaAttDefList(fAttDefs, fMemoryManager);
}
// Reset it before we return it
1.10 +2 -2 xml-xerces/c/src/xercesc/validators/DTD/DTDElementDecl.cpp
Index: DTDElementDecl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDElementDecl.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- DTDElementDecl.cpp 17 Oct 2003 21:14:30 -0000 1.9
+++ DTDElementDecl.cpp 21 Oct 2003 10:23:54 -0000 1.10
@@ -184,7 +184,7 @@
if (!fAttDefs)
faultInAttDefList();
- ((DTDElementDecl*)this)->fAttList = new (getMemoryManager())
DTDAttDefList(fAttDefs);
+ ((DTDElementDecl*)this)->fAttList = new (getMemoryManager())
DTDAttDefList(fAttDefs,getMemoryManager());
}
// Reset it before we return it
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]