You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/04/03 06:01:53 UTC

cvs commit: xml-xalan/c/src/XalanTransformer XalanTransformer.cpp

dbertoni    02/04/02 20:01:53

  Modified:    c/src/XalanTransformer XalanTransformer.cpp
  Log:
  Fixed potential leak on 390.
  
  Revision  Changes    Path
  1.47      +1 -1      xml-xalan/c/src/XalanTransformer/XalanTransformer.cpp
  
  Index: XalanTransformer.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanTransformer/XalanTransformer.cpp,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- XalanTransformer.cpp	2 Apr 2002 06:15:07 -0000	1.46
  +++ XalanTransformer.cpp	3 Apr 2002 04:01:53 -0000	1.47
  @@ -236,7 +236,7 @@
   {
   	// Terminate Xalan and release memory.
   #if defined(XALAN_CANNOT_DELETE_CONST)
  -	(XSLTInit*) s_xsltInit;
  +	delete (XSLTInit*) s_xsltInit;
   #else
   	delete s_xsltInit;
   #endif
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org