mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023392: Memory leak in OCAF in debug mode
TDF_LabelNode::Destroy() does not free memory for entry strings TCollection_AsciiString myDebugEntry problem was corrected.
This commit is contained in:
@@ -93,7 +93,7 @@ void TDF_LabelNode::Destroy (const TDF_HAllocator& theAllocator)
|
||||
myFirstChild->Destroy (theAllocator);
|
||||
myFirstChild = aSecondChild;
|
||||
}
|
||||
myFirstAttribute.Nullify();
|
||||
this->~TDF_LabelNode();
|
||||
myFather = myBrother = myFirstChild = myLastFoundChild = NULL;
|
||||
myTag = myFlags = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user