MantisBT - Community
View Issue Details
0010886Community[OCCT] OCCT:Modeling Algorithmspublic2005-12-12 17:592011-11-23 18:07
abv 
msv 
normaltrivial 
closedfixed 
All
 
[OCCT] 6.1.0 
0010886: Forum 9220: Memory leak in IntCurvesFace_ShapeIntersector
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();"
Documentation remark, added by msv 2006-01-31 17:03:22:

Improvements:
The memory leak (mentioned in the thread 9220 on the OCC Forum) in the code of
the class IntCurvesFace_ShapeIntersector has been eliminated. Now the destructor
of this class properly frees all allocated memory.
No tags attached.
tgz OCC10886_msv_patch_v1.tgz (1,959) 2005-12-12 16:23
https://tracker.dev.opencascade.org/
Issue History
2006-01-23 16:54bugmasterStatusclosed => assigned
2006-01-23 16:54bugmasterResolutionsuspended => @0@
2006-01-23 16:55bugmasterAssigned Tobugmaster => msv
2006-01-23 16:55bugmasterCC => aki
2006-01-31 18:31bugmasterCC => imv
2006-02-01 10:48bugmasterStatusassigned => resolved
2006-02-01 10:48bugmasterStatusresolved => tested
2006-02-17 10:37bugmasterStatustested => verified
2006-04-06 16:28bugmasterStatusverified => closed
2006-04-06 16:28bugmasterResolution@0@ => fixed
2011-08-02 11:31bugmasterCategoryOCCT:MOA => OCCT:Modeling Algorithms
2011-11-23 18:07szyDescription Updatedbug_revision_view_page.php?rev_id=944#r944
2011-11-23 18:07szyAdditional Information Updatedbug_revision_view_page.php?rev_id=946#r946

There are no notes attached to this issue.