You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2008/01/22 18:08:19 UTC

svn commit: r614263 - /xerces/c/trunk/doc/program-sax.xml

Author: amassari
Date: Tue Jan 22 09:08:18 2008
New Revision: 614263

URL: http://svn.apache.org/viewvc?rev=614263&view=rev
Log:
Show how to release a transcoded string (XERCESC-1767)

Modified:
    xerces/c/trunk/doc/program-sax.xml

Modified: xerces/c/trunk/doc/program-sax.xml
URL: http://svn.apache.org/viewvc/xerces/c/trunk/doc/program-sax.xml?rev=614263&r1=614262&r2=614263&view=diff
==============================================================================
--- xerces/c/trunk/doc/program-sax.xml (original)
+++ xerces/c/trunk/doc/program-sax.xml Tue Jan 22 09:08:18 2008
@@ -83,6 +83,7 @@
     cout << "Fatal Error: " << message
          << " at line: " << exception.getLineNumber()
          << endl;
+    XMLString::release(&message);
 }</source>
 
       <p>The XMLCh and AttributeList types are supplied by



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org