DiscussionsIssue archiveOCCT:Foundation Classes

Archived issue #0023033

Standard_MMgrOpt::Reallocate behavior must be similar to "realloc"

Open CASCADEOCCT:Foundation Classesclosed4 public notes

Search issues

Description

If NULL pointer has been passed in Standard_MMgrOpt::Reallocate it should allocate new memory block instead of raising exception.

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Standard_MMgrOpt::Reallocate has been modified to allocate new memory block if NULL pointer has been passed.

Git branch CR23033 is ready to be reviewed.

Dear Andrey,
Please review.
02Commenter 2
No remarks, please test
03Commenter 1
Dear Commenter 2,
     Workbench KAS:dev:apn-23033-occt was created from git branch CR23033 (and apn-23033-products from svn trunk) and compiled on Linux platform.
   
     There are not regressions in apn-23033-products regarding to KAS:dev:products-20120316-opt
     
     See results in /QADisk/occttests/results/KAS/dev/apn-23033-products_22032012/lin
     See reference results in /QADisk/occttests/results/KAS/dev/products-20120316-opt_17032012/lin
     See test cases in /QADisk/occttests/tests/ED

04Commenter 2
Integrated into master

Related records