Memory leak in IntCurvesFace_ShapeIntersector

Hi,
I have been using the class IntCurvesFace_ShapeIntersector, and it seems to me that it is loosing memory.
If I insert a "delete Ptr;" after "Ptr->Destroy();" in IntCurvesFace_ShapeIntersector::Destroy(), then it stops doing it. Is it a bug or should I use it somehow else?
T.

Forum supervisor's picture

Dear Tibor,

Thank you very much for this contribution !
I am glad to inform you that your modification has been registered as an improvement request with reference number OCC10886 in our bug tracking system. We shall test your solution and, in case of positive results, we shall integrate this improvement in future versions of Open CASCADE Technology.

To check if this improvement is integrated in a release, please refer to the Release Notes at http://www.opencascade.org/getocc/whatsnew/.

Thank you, and best regards !
Forum Supervisor