xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cargi...@apache.org
Subject svn commit: r583166 - /xerces/c/trunk/src/xercesc/validators/datatype/AnyURIDatatypeValidator.cpp
Date Tue, 09 Oct 2007 13:39:48 GMT
Author: cargilld
Date: Tue Oct  9 06:39:47 2007
New Revision: 583166

URL: http://svn.apache.org/viewvc?rev=583166&view=rev
Log:
Pass in memory manager to janitor.

Modified:
    xerces/c/trunk/src/xercesc/validators/datatype/AnyURIDatatypeValidator.cpp

Modified: xerces/c/trunk/src/xercesc/validators/datatype/AnyURIDatatypeValidator.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/datatype/AnyURIDatatypeValidator.cpp?rev=583166&r1=583165&r2=583166&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/datatype/AnyURIDatatypeValidator.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/datatype/AnyURIDatatypeValidator.cpp Tue Oct  9
06:39:47 2007
@@ -83,7 +83,7 @@
         {          
             // Encode special characters using XLink 5.4 algorithm
             XMLCh* encoded = (XMLCh*)manager->allocate((len*3+1) * sizeof(XMLCh));
-            ArrayJanitor<XMLCh> encodedJan(encoded);
+            ArrayJanitor<XMLCh> encodedJan(encoded, manager);
             encode(content, len, encoded, manager);
             validURI = XMLUri::isValidURI(true, encoded, true);            
         }



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


Mime
View raw message