You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2003/09/26 20:31:13 UTC
cvs commit: xml-xerces/c/src/xercesc/validators/DTD DTDElementDecl.cpp
peiyongz 2003/09/26 11:31:13
Modified: c/src/xercesc/validators/DTD DTDElementDecl.cpp
Log:
Synchronize ContentSpecNode and formattedModel
Revision Changes Path
1.6 +9 -1 xml-xerces/c/src/xercesc/validators/DTD/DTDElementDecl.cpp
Index: DTDElementDecl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDElementDecl.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- DTDElementDecl.cpp 18 May 2003 14:02:06 -0000 1.5
+++ DTDElementDecl.cpp 26 Sep 2003 18:31:13 -0000 1.6
@@ -244,6 +244,14 @@
{
delete fContentSpec;
fContentSpec = toAdopt;
+
+ // reset formattedModel
+ if (fFormattedModel)
+ {
+ getMemoryManager()->deallocate(fFormattedModel);
+ fFormattedModel = 0;
+ }
+
}
const XMLCh*
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org