
Thu, 01/12/2012 - 17:48
Forums:
Hello,
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;
}
Pawel
Hello,
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;
}
Pawel
Fri, 01/27/2012 - 18:12
http://tracker.dev.opencascade.org/view.php?id=22930