View Issue Details

IDProjectCategoryView StatusLast Update
0022955CommunityOCCT:Visualizationpublic2012-04-16 12:33
ReporterPawel Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformAOSL 
Product Version6.5.2 
Target Version6.5.3Fixed in Version6.5.3 
Summary0022955: Memory leak in OpenGL_text.cxx
DescriptionIn line 155, if allocation of 'wstr' fails the method returns without deleting the 'data' variable

Solution:

if( !wstr )
  {
    delete data;
    return TFailure;
  }
TagsNo tags attached.
Test case number

Relationships

related to 0022819 closedbugmaster Open CASCADE Redesign of OpenGl driver 

Activities

abv

2012-02-06 08:15

manager   ~0019397

To be checked after integration of 0022819

kgv

2012-02-21 11:33

developer   ~0019695

By default 'new wchar_t[i]' will raise an exception on allocation error. So NULL-check is useless here and never happens. NULL-check is removed in 0022819.

Pawel

2012-04-12 16:20

developer   ~0020362

Verified. Please close.

Issue History

Date Modified Username Field Change
2012-01-31 14:14 Pawel New Issue
2012-01-31 14:14 Pawel Assigned To => san
2012-02-06 08:15 abv Relationship added related to 0022819
2012-02-06 08:15 abv Note Added: 0019397
2012-02-21 11:33 kgv Note Added: 0019695
2012-02-21 11:33 kgv Assigned To san => bugmaster
2012-02-21 11:33 kgv Status new => resolved
2012-03-23 20:22 abv Target Version => 6.5.3
2012-04-02 18:07 bugmaster Status resolved => reviewed
2012-04-02 18:07 bugmaster Status reviewed => verified
2012-04-02 18:07 bugmaster Resolution open => fixed
2012-04-02 18:07 bugmaster Assigned To bugmaster => Pawel
2012-04-12 16:20 Pawel Note Added: 0020362
2012-04-16 12:33 Pawel Assigned To Pawel => bugmaster