Archived discussion
Memory leak in math_FunctionRoots.cxx line 254 (OCCT 6.5.2)
Hello,
the lines
if( Nvalid
Done = Standard_False;
return;
}
do not delete the previously allocated variable 'ptrval'. I would change the code to:
if( Nvalid
Done = Standard_False;
delete [] ptrval;
return;
}
Author
Discussion
1 archived reply
Posts are displayed in their archived order.