You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2003/04/25 17:29:06 UTC

cvs commit: xml-xerces/c/src/xercesc/dom/impl DOMDeepNodeListPool.c

knoaman     2003/04/25 08:29:05

  Modified:    c/src/xercesc/dom/impl DOMDeepNodeListPool.c
  Log:
  Replicate key2 and key3 when putting an item in the list.
  
  Revision  Changes    Path
  1.5       +3 -3      xml-xerces/c/src/xercesc/dom/impl/DOMDeepNodeListPool.c
  
  Index: DOMDeepNodeListPool.c
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/impl/DOMDeepNodeListPool.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DOMDeepNodeListPool.c	4 Nov 2002 15:07:34 -0000	1.4
  +++ DOMDeepNodeListPool.c	25 Apr 2003 15:29:05 -0000	1.5
  @@ -312,8 +312,8 @@
   
           newBucket->fData = valueToAdopt;
           newBucket->fKey1 = key1;
  -        newBucket->fKey2 = key2;
  -        newBucket->fKey3 = key3;
  +        newBucket->fKey2 = XMLString::replicate(key2);
  +        newBucket->fKey3 = XMLString::replicate(key3);
       }
        else
       {
  
  
  

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