You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by ro...@us.ibm.com on 2000/01/03 22:37:39 UTC

Re: memory allocation



The validator belongs to the parser object, which will clean it up.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
roddey@us.ibm.com



"Ran Gilboa" <ra...@hotmail.com> on 12/28/99 01:08:13 AM

Please respond to xerces-dev@xml.apache.org

To:   <xe...@xml.apache.org>
cc:
Subject:  memory allocation




Hi
In the samples there is memory  allocation for example
In the EnumVal  sapmple you allocate  DTDValidator

   DTDValidator* valToUse = new  DTDValidator;

Where do you release this  memory?

Some files from the sample section does not  exist
The files are:  DOMMemTest.cpp, DTest.cpp and DTest.h
 Ran gilboa