[BACK]Return to patch-aw CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / xerces-c / patches

Annotation of pkgsrc/textproc/xerces-c/patches/patch-aw, Revision 1.1

1.1     ! joerg       1: $NetBSD$
        !             2:
        !             3: --- util/RefArrayVectorOf.c.orig       2005-12-31 00:36:54.000000000 +0000
        !             4: +++ util/RefArrayVectorOf.c
        !             5: @@ -22,12 +22,12 @@ RefArrayVectorOf<TElem>::RefArrayVectorO
        !             6:
        !             7:  template <class TElem> RefArrayVectorOf<TElem>::~RefArrayVectorOf()
        !             8:  {
        !             9: -    if (fAdoptedElems)
        !            10: +    if (this->fAdoptedElems)
        !            11:      {
        !            12: -      for (unsigned int index = 0; index < fCurCount; index++)
        !            13: -        fMemoryManager->deallocate(fElemList[index]);//delete[] fElemList[index];
        !            14: +      for (unsigned int index = 0; index < this->fCurCount; index++)
        !            15: +        this->fMemoryManager->deallocate(this->fElemList[index]);//delete[] fElemList[index];
        !            16:      }
        !            17: -    fMemoryManager->deallocate(fElemList);//delete [] fElemList;
        !            18: +    this->fMemoryManager->deallocate(this->fElemList);//delete [] fElemList;
        !            19:  }
        !            20:
        !            21:

CVSweb <webmaster@jp.NetBSD.org>