MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #10886 All Revisions ] Back to Issue ]
Summary 0010886: Forum 9220: Memory leak in IntCurvesFace_ShapeIntersector
Revision 2011-11-23 18:07 by szy
Description This problem has been reported on OCC Forum by Tibor Mirjanszky
<mirjanszky.tibor@freemail.hu>. See Forum thread 9220:
http://www.opencascade.org/org/forum/thread_9220 [^]

--------------

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.

--------------

According to fast analysis by MSV, it should be actually a bug: "delete Ptr;"
should be called instead of "Ptr->Destroy();"
Revision 2006-06-29 09:15 by szy
Description This problem has been reported on OCC Forum by Tibor Mirjanszky
<mirjanszky.tibor@freemail.hu>. See Forum thread 9220:
http://www.opencascade.org/org/forum/thread_9220 [^]

--------------

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.

--------------

According to fast analysis by MSV, it should be actually a bug: "delete Ptr;"
should be called instead of "Ptr->Destroy();"


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker