[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-cvs
Subject: cvs commit: xml-xerces/c/src/validators/schema ComplexTypeInfo.cpp
From: tng () apache ! org
Date: 2001-12-17 21:38:59
[Download RAW message or body]
tng 01/12/17 13:38:59
Modified: c/src/validators/schema ComplexTypeInfo.cpp
Log:
Fix dangling pointer.
Revision Changes Path
1.25 +4 -1 xml-xerces/c/src/validators/schema/ComplexTypeInfo.cpp
Index: ComplexTypeInfo.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/validators/schema/ComplexTypeInfo.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ComplexTypeInfo.cpp 2001/11/21 14:30:13 1.24
+++ ComplexTypeInfo.cpp 2001/12/17 21:38:59 1.25
@@ -56,6 +56,9 @@
/*
* $Log: ComplexTypeInfo.cpp,v $
+ * Revision 1.25 2001/12/17 21:38:59 tng
+ * Fix dangling pointer.
+ *
* Revision 1.24 2001/11/21 14:30:13 knoaman
* Fix for UPA checking.
*
@@ -388,7 +391,7 @@
else {
aSpecNode = convertContentSpecTree(fContentSpec, checkUPA);
if (aSpecNode != fContentSpec) {
- if (aSpecNode == fContentSpec->getFirst() && !fAdoptContentSpec)
+ if (!fAdoptContentSpec && (aSpecNode == fContentSpec->getFirst()))
fAdoptContentSpec = false;
else
fAdoptContentSpec = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic