You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by au...@apache.org on 2001/03/02 13:08:33 UTC

cvs commit: xml-xalan/c/src/XSLT ElemPI.cpp

auriemma    01/03/02 04:08:31

  Modified:    c/src/XSLT ElemPI.cpp
  Log:
  Fix memory leak bug.
  
  Revision  Changes    Path
  1.9       +5 -0      xml-xalan/c/src/XSLT/ElemPI.cpp
  
  Index: ElemPI.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemPI.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ElemPI.cpp	2001/03/01 19:13:44	1.8
  +++ ElemPI.cpp	2001/03/02 12:08:27	1.9
  @@ -112,6 +112,11 @@
   
   ElemPI::~ElemPI()
   {
  +#if defined(XALAN_CANNOT_DELETE_CONST)
  +	delete (AVT*)m_nameAVT;
  +#else
  +	delete m_nameAVT;
  +#endif
   }