You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2004/09/23 02:44:50 UTC
cvs commit: xml-xerces/c/samples/PSVIWriter PSVIWriterHandlers.cpp
cargilld 2004/09/22 17:44:50
Modified: c/samples/PSVIWriter PSVIWriterHandlers.cpp
Log:
Fix memory leak in PSVIWriter sample.
Revision Changes Path
1.10 +1 -0 xml-xerces/c/samples/PSVIWriter/PSVIWriterHandlers.cpp
Index: PSVIWriterHandlers.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/PSVIWriter/PSVIWriterHandlers.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- PSVIWriterHandlers.cpp 14 Sep 2004 21:54:47 -0000 1.9
+++ PSVIWriterHandlers.cpp 23 Sep 2004 00:44:50 -0000 1.10
@@ -815,6 +815,7 @@
processDOMElement(PSVIUni::fgUserInformation, elem, PSVIUni::fgDocumentation);
processDOMAttributes(elem->getAttributes());
sendUnindentedElement(PSVIUni::fgAnnotation);
+ document->release();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org