Skip to content
Snippets Groups Projects
Commit b1c0518f authored by Tinny Ng's avatar Tinny Ng
Browse files

[Bug 6114] Memory leaks on iDOM getElementsByTagName().

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@173470 13f79535-47bb-0310-9956-ffa450edef68
parent 40075f3f
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,9 @@
/**
* $Log$
* Revision 1.3 2002/02/05 15:38:14 tng
* [Bug 6114] Memory leaks on iDOM getElementsByTagName().
*
* Revision 1.2 2002/02/05 13:11:06 tng
* [Bug 6114] Memory leaks on iDOM getElementsByTagName().
*
......@@ -286,8 +289,8 @@ template <class TElem> void RefVectorOf<TElem>::reinitialize()
if (fElemList)
cleanup();
fElemList = new TElem*[maxElems];
for (unsigned int index = 0; index < maxElems; index++)
fElemList = new TElem*[fMaxCount];
for (unsigned int index = 0; index < fMaxCount; index++)
fElemList[index] = 0;
}
......
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