DiscussionsIssue archiveOCCT:Visualization

Archived issue #0022930

Memory leak in OpenGl_filters.cxx line 351

CommunityOCCT:Visualizationclosed2 public notes

Search issues

Description

the lines:

if( !temp )
return TFailure;

do not delete the previously allocated variable 'ptr'. I would change the code to:

if( !temp )
{
delete [] ptr;
return TFailure;
}

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Should be fixed by #0022819, please check
02Commenter 2
This code block and functionality no more exists since #0022819 integration.

Related records