projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0023392: Memory leak in OCAF in debug mode
[occt.git]
/
src
/
TDF
/
TDF_LabelNode.cxx
diff --git
a/src/TDF/TDF_LabelNode.cxx
b/src/TDF/TDF_LabelNode.cxx
index
28702bd
..
e6ae66f
100755
(executable)
--- a/
src/TDF/TDF_LabelNode.cxx
+++ b/
src/TDF/TDF_LabelNode.cxx
@@
-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;