occt: master 7a76337e

Author Committer Branch Timestamp Parent
emv bugmaster master 2014-08-07 06:09:12 master 5a89733f
Affected Issues  0025128: Memory leak in BOPDS_DS::Paves()
Changeset 0025128: Memory leak in BOPDS_DS::Paves()

class BOPDS_DS
   void BOPDS_DS::Paves(const Standard_Integer theEdge,
                        BOPDS_ListOfPave& theLP)
class BOPDS_PaveBlock
   void BOPDS_PaveBlock::Update(BOPDS_ListOfPaveBlock& theLPB,
                                const Standard_Boolean theFlag)

Using NCollection_Array1 class to ensure proper allocation and deallocation of memory.
mod - src/BOPDS/BOPDS.cdl Diff File
mod - src/BOPDS/BOPDS_DS.cxx Diff File
mod - src/BOPDS/BOPDS_MapOfPave.hxx Diff File
mod - src/BOPDS/BOPDS_PaveBlock.cxx Diff File
add - src/BOPDS/BOPDS_VectorOfPave.hxx Diff File
mod - src/BOPDS/FILES Diff File