You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2004/03/24 12:57:05 UTC

cvs commit: xml-security/c/src/tools/templatesign templatesign.cpp

blautenb    2004/03/24 03:57:05

  Modified:    c/src/tools/templatesign templatesign.cpp
  Log:
  Fix memory leak identified by Milan Tomic
  
  Revision  Changes    Path
  1.21      +2 -1      xml-security/c/src/tools/templatesign/templatesign.cpp
  
  Index: templatesign.cpp
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/tools/templatesign/templatesign.cpp,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- templatesign.cpp	7 Mar 2004 03:20:51 -0000	1.20
  +++ templatesign.cpp	24 Mar 2004 11:57:04 -0000	1.21
  @@ -1302,6 +1302,7 @@
   
   	delete [] gEncodingName;
   	XMLString::release((XMLCh **) &encNameStr);   // Cast to allow delete[] const
  +	delete gFormatter;
   	delete formatTarget;
   
   #if defined (_WIN32) && defined (HAVE_WINCAPI)