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/06/01 18:48:13 UTC
cvs commit: xml-xerces/c/src/xercesc/internal IGXMLScanner.cpp
cargilld 2004/06/01 09:48:13
Modified: c/src/xercesc/internal IGXMLScanner.cpp
Log:
Fix memory leak.
Revision Changes Path
1.69 +5 -2 xml-xerces/c/src/xercesc/internal/IGXMLScanner.cpp
Index: IGXMLScanner.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/IGXMLScanner.cpp,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- IGXMLScanner.cpp 27 May 2004 16:33:07 -0000 1.68
+++ IGXMLScanner.cpp 1 Jun 2004 16:48:13 -0000 1.69
@@ -3078,8 +3078,11 @@
fValidate = fElemStack.getValidationFlag();
}
}
- else // not empty
+ else if (fGrammarType == Grammar::SchemaGrammarType)
+ {
+ // not empty
fErrorStack->push(fPSVIElemContext.fErrorOccurred);
+ }
return true;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org