Skip to content
Snippets Groups Projects
Commit 33d7ae5e authored by Alberto Massari's avatar Alberto Massari
Browse files

When creating a new list of attributes, use the assigned memory manager

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175301 13f79535-47bb-0310-9956-ffa450edef68
parent d8faa4cb
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ XMLAttDefList& DTDElementDecl::getAttDefList() const
if (!fAttDefs)
faultInAttDefList();
((DTDElementDecl*)this)->fAttList = new (getMemoryManager()) DTDAttDefList(fAttDefs);
((DTDElementDecl*)this)->fAttList = new (getMemoryManager()) DTDAttDefList(fAttDefs,getMemoryManager());
}
// Reset it before we return it
......
......@@ -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 @@ XMLAttDefList& ComplexTypeInfo::getAttDefList() const
if (!fAttDefs)
faultInAttDefList();
((ComplexTypeInfo*)this)->fAttList = new (fMemoryManager) SchemaAttDefList(fAttDefs);
((ComplexTypeInfo*)this)->fAttList = new (fMemoryManager) SchemaAttDefList(fAttDefs, fMemoryManager);
}
// Reset it before we return it
......
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